update hakken dates & times
All checks were successful
continuous-integration/drone/pr Build is passing
All checks were successful
continuous-integration/drone/pr Build is passing
This commit is contained in:
parent
48c4df033f
commit
e8f616b538
12
hakken.yml
12
hakken.yml
|
@ -12,7 +12,7 @@ content:
|
||||||
|
|
||||||
You're invited!
|
You're invited!
|
||||||
|
|
||||||
We meet (almost) every month in Cologne for hakken.irl, a small three-day (friday to sunday) hackathon that's just about having fun and nerding around.
|
We meet (almost) every three months in Cologne for hakken.irl, a small three-day (Friday to Sunday) hackathon that's just about having fun and nerding around.
|
||||||
|
|
||||||
## What will we be doing?
|
## What will we be doing?
|
||||||
|
|
||||||
|
@ -47,14 +47,16 @@ content:
|
||||||
|
|
||||||
## When will this happen?
|
## When will this happen?
|
||||||
|
|
||||||
hakken.irl always starts on the last friday of the month.
|
hakken.irl always starts on the last Friday of the month at 13:12 and ends on Sunday 16:20.
|
||||||
|
|
||||||
|
We're meeting up every three months, typically on January, April, July and October.
|
||||||
|
|
||||||
de: |
|
de: |
|
||||||
# hakken.irl
|
# hakken.irl
|
||||||
|
|
||||||
Du bist eingeladen!
|
Du bist eingeladen!
|
||||||
|
|
||||||
Wir treffen uns (fast) monatlich in Köln zum hakken.irl, ein kleiner 3-Tägiger (Freitag bis Sonntag) Hackathon bei dem es nur darum geht Spaß zu haben und ab zu nerden.
|
Wir treffen uns (fast) alle drei Monate in Köln zum hakken.irl, ein kleiner 3-Tägiger (Freitag bis Sonntag) Hackathon bei dem es nur darum geht Spaß zu haben und ab zu nerden.
|
||||||
|
|
||||||
## Was machen wir denn so?
|
## Was machen wir denn so?
|
||||||
|
|
||||||
|
@ -89,4 +91,6 @@ content:
|
||||||
|
|
||||||
## Und wann soll das sein?
|
## Und wann soll das sein?
|
||||||
|
|
||||||
hakken.irl startet immer am letzten Freitag des Monats
|
hakken.irl startet immer am letzten Freitag der Monats um 13:12 und geht bis Sonntag 16:20.
|
||||||
|
|
||||||
|
Wir treffen uns alle drei monate, üblicherweise im Januar, April, Juli und Oktober.
|
||||||
|
|
|
@ -2,7 +2,14 @@ const skippedMonths = [
|
||||||
{ m: 8, y: 2022 },
|
{ m: 8, y: 2022 },
|
||||||
{ m: 12, y: 2022 },
|
{ m: 12, y: 2022 },
|
||||||
{ m: 4, y: 2023 },
|
{ m: 4, y: 2023 },
|
||||||
{ m: 12, y: 2023 },
|
{ m: 5, y: 2023, repeat: true },
|
||||||
|
{ m: 6, y: 2023, repeat: true },
|
||||||
|
{ m: 8, y: 2023, repeat: true },
|
||||||
|
{ m: 9, y: 2023, repeat: true },
|
||||||
|
{ m: 11, y: 2023, repeat: true },
|
||||||
|
{ m: 12, y: 2023, repeat: true },
|
||||||
|
{ m: 2, y: 2024, repeat: true },
|
||||||
|
{ m: 3, y: 2024, repeat: true },
|
||||||
];
|
];
|
||||||
|
|
||||||
const i18n = {
|
const i18n = {
|
||||||
|
@ -58,8 +65,8 @@ const week = 7 * day;
|
||||||
const endOfWeekend = 2 * day;
|
const endOfWeekend = 2 * day;
|
||||||
const start = new Date();
|
const start = new Date();
|
||||||
const hakkens = [];
|
const hakkens = [];
|
||||||
// We'll be looking about half a year into the future
|
// We'll be looking about a year into the future
|
||||||
for (let i = 0; i < 185; i++) {
|
for (let i = 0; i < 366; i++) {
|
||||||
const dateToTry = new Date(start.valueOf() + (i * day));
|
const dateToTry = new Date(start.valueOf() + (i * day));
|
||||||
if (dateToTry.getDay() !== 5) {
|
if (dateToTry.getDay() !== 5) {
|
||||||
continue;
|
continue;
|
||||||
|
@ -75,6 +82,9 @@ for (let i = 0; i < 185; i++) {
|
||||||
if (skippedMonths.find((s) => s.m === m && s.y === y)) {
|
if (skippedMonths.find((s) => s.m === m && s.y === y)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if (skippedMonths.find((s) => s.repeat && s.m === m && s.y <= y)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
hakkens.push(dateToTry);
|
hakkens.push(dateToTry);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue