This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Zaimki/locale/en/events.js

83 lines
5.3 KiB
JavaScript
Raw Normal View History

2021-09-16 03:52:10 -07:00
const {Event, day, week, month, dayYear, EventLevel} = require("../../src/calendar/helpers");
2021-08-14 07:22:30 -07:00
2021-09-16 03:52:10 -07:00
module.exports = [
2021-09-15 07:23:05 -07:00
// months
2021-09-14 07:13:50 -07:00
new Event('LGBT History Month (UK/Hungary/Netherlands)', 'Progress Pride', 2, month, EventLevel.Month),
2021-09-14 05:12:17 -07:00
new Event('LGBT History Month (US/Canada/Australia)', 'Progress Pride', 10, month, EventLevel.Month),
2021-09-14 07:13:50 -07:00
new Event('LGBT History Month (Ireland/Germany)', 'Progress Pride', 5, month, EventLevel.Month),
2021-09-23 23:37:40 -07:00
new Event('Trans Visibility Month (Brazil)', 'Transgender', 1, month, EventLevel.Month),
new Event('Lesbian Visibility Month (Brazil)', 'Lesbian', 8, month, EventLevel.Month),
2021-09-15 07:23:05 -07:00
// static date
new Event('Harvey Milk Day', null, 5, day(22), EventLevel.MajorDay),
new Event('Pink Triangle Day (Canada)', null, 2, day(14), EventLevel.MajorDay),
new Event('Marriage Equality Day (US)', null, 6, day(26), EventLevel.MajorDay),
new Event('Marriage Equality Day (England and Wales)', null, 3, day(13), EventLevel.MajorDay),
new Event('Marriage Equality Day (Scotland)', null, 12, day(16), EventLevel.MajorDay),
new Event('Marriage Equality Day (Northern Ireland)', null, 1, day(13), EventLevel.MajorDay),
new Event('Marriage Equality Day (Canada)', null, 7, day(20), EventLevel.MajorDay),
new Event('Marriage Equality Day (Australia)', null, 12, day(9), EventLevel.MajorDay),
new Event('Marriage Equality Day (New Zealand)', null, 8, day(19), EventLevel.MajorDay),
new Event('Marriage Referendum Anniversary (Ireland)', null, 5, day(22), EventLevel.MajorDay),
2021-09-16 08:22:24 -07:00
new Event('National Freedom to Marry Day (US)', null, 2, day(12), EventLevel.MajorDay),
2021-09-17 16:27:23 -07:00
new Event('National Transgender HIV Testing Day (US)', 'Transgender', 4, day(18), EventLevel.MajorDay),
new Event('National HIV Testing Day (US)', null, 6, day(27), EventLevel.MajorDay),
new Event('National Black HIV Testing Day (US)', null, 2, day(7), EventLevel.MajorDay),
2021-09-18 02:37:36 -07:00
new Event('Anniversary of the Decriminalisation of Homosexuality in England and Wales (1967)', null, 7, day(27), EventLevel.MajorDay),
new Event('Anniversary of the Decriminalisation of Homosexuality in Scotland (1981)', null, 2, day(1), EventLevel.MajorDay),
2021-09-20 06:18:46 -07:00
new Event('Two Spirit Awareness Day', 'Two Spirit', 7, day(11), EventLevel.MajorDay),
2021-09-21 09:55:30 -07:00
new Event('National Gay Men\'s HIV/AIDS Awareness Day (US)', null, 9, day(27), EventLevel.MajorDay),
2021-09-21 07:43:23 -07:00
new Event('National HIV/AIDS and Aging Awareness Day (US)', null, 9, day(18), EventLevel.MajorDay),
new Event('LGBT Center Awareness Day (US)', null, 10, day(19), EventLevel.MajorDay),
2021-09-21 08:34:39 -07:00
new Event('{https://twitter.com/_EQUALGROUND_/status/1440232964286124050=Lesbian Visibility Day} (Sri Lanka)', 'Lesbian', 9, day(21), EventLevel.MajorDay),
2021-09-23 22:24:00 -07:00
new Event('National Latinx AIDS Awareness Day (US)', null, 10, day(15), EventLevel.MajorDay),
new Event('Southern HIV/AIDS Awareness Day (US)', null, 8, day(20), EventLevel.MajorDay),
new Event('National Asian and Pacific Islander HIV/AIDS Awareness Day (US)', null, 5, day(19), EventLevel.MajorDay),
new Event('National Youth HIV/AIDS Awareness Day (US)', null, 4, day(10), EventLevel.MajorDay),
new Event('National Women and Girls HIV/AIDS Awareness Day (US)', null, 3, day(10), EventLevel.MajorDay),
new Event('National Native HIV/AIDS Awareness Day (US)', null, 3, day(20), EventLevel.MajorDay),
new Event('HIV Long-Term Survivors Awareness Day (US)', null, 6, day(5), EventLevel.MajorDay),
2021-09-23 23:37:40 -07:00
new Event('National Trans Visibility Day (Brazil)', 'Transgender', 1, day(29), EventLevel.MajorDay),
new Event('National Gay Pride Day (Brazil)', 'LGBTQ', 3, day(25), EventLevel.MajorDay),
new Event('National Lesbian Visibility Day (Brazil)', 'Lesbian', 8, day(29), EventLevel.MajorDay),
2021-09-23 23:38:52 -07:00
new Event('Lesbian Rebelliousness Day (Latin America)'', 'Lesbian_', 10, day(13), EventLevel.MajorDay),
2021-09-23 23:37:40 -07:00
new Event('National Lesbian Visibility Day (Chile)', 'Lesbian', 7, day(9), EventLevel.MajorDay),
new Event('National Lesbian Visibility Day (Argentina)', 'Lesbian', 3, day(7), EventLevel.MajorDay),
new Event('National Lesbian Visibility Day (Paraguay)', 'Lesbian', 9, day(16), EventLevel.MajorDay),
new Event('Day of Activism for Sexual Diversity (Argentina)', 'LGBTQ', 8, day(20), EventLevel.MajorDay),
new Event('Trans Rights Day (Argentina)', 'Transgender', 3, day(18), EventLevel.MajorDay),
new Event('Nonbinary People\'s Day (Poland)', 'Nonbinary', 3, day(9), EventLevel.MajorDay),
2021-09-23 23:41:08 -07:00
new Event('LGBT Visibility Day (Russia)', 'LGBTQ', 10, day(7), EventLevel.MajorDay),
2021-09-16 10:58:17 -07:00
2021-09-17 16:27:23 -07:00
// dynamic date
2021-09-16 10:58:17 -07:00
new Event('Wear it Purple Day (Australia)', null, 8, function* (monthDays) {
let lastFriday = null;
for (let d of monthDays) {
if (d.dayOfWeek === 5) {
lastFriday = d;
}
}
yield lastFriday;
}, EventLevel.MajorDay),
new Event('Spirit Day', null, 10, function* (monthDays) {
let fridays = 0;
for (let d of monthDays) {
if (d.dayOfWeek === 5) {
fridays++;
if (fridays === 3) {
yield d;
return;
}
}
}
}, EventLevel.MajorDay),
2021-09-17 16:27:23 -07:00
// one-off events
new Event('Day of Silence', null, 4, dayYear(23, 2021), EventLevel.MajorDay),
2021-09-21 07:45:09 -07:00
new Event('LGBTQIA+ Equal Pay Awareness Day', null, 6, dayYear(16, 2021), EventLevel.MajorDay),
2021-09-17 16:27:23 -07:00
2021-08-14 07:22:30 -07:00
];