update date of summer hakken, fix autumn hakken month #30
|
@ -26,6 +26,9 @@ dates:
|
||||||
- name: Summer 2024
|
- name: Summer 2024
|
||||||
id: summer-2024
|
id: summer-2024
|
||||||
theme: Hot CPU Summer
|
theme: Hot CPU Summer
|
||||||
|
override_date:
|
||||||
|
start: '2024-08-23'
|
||||||
|
end: '2024-08-25'
|
||||||
location:
|
location:
|
||||||
en: Cologne @ [MiOM space](https://miom.space)
|
en: Cologne @ [MiOM space](https://miom.space)
|
||||||
de: Köln @ [MiOM Kreativraum](https://miom.space)
|
de: Köln @ [MiOM Kreativraum](https://miom.space)
|
||||||
|
|
|
@ -16,9 +16,16 @@ const getStartAndEnd = (date) => {
|
||||||
Winter: 1,
|
Winter: 1,
|
||||||
Spring: 4,
|
Spring: 4,
|
||||||
Summer: 7,
|
Summer: 7,
|
||||||
Autumn: 10,
|
Autumn: 11,
|
||||||
hensoko marked this conversation as resolved
Outdated
|
|||||||
}[version];
|
}[version];
|
||||||
|
|
||||||
|
if (date.override_date) {
|
||||||
|
return {
|
||||||
|
start: new Date(date.override_date.start),
|
||||||
|
end: new Date(date.override_date.end)
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
// We start searching on the 20th of that specific month
|
// We start searching on the 20th of that specific month
|
||||||
const d = new Date();
|
const d = new Date();
|
||||||
d.setFullYear(parseInt(year, 10));
|
d.setFullYear(parseInt(year, 10));
|
||||||
|
|
Loading…
Reference in a new issue
The autumn date will get moved by this change, right? We did not discuss this yet, so I'd prefer not to change this and try to get back into our rhythm.
yep youre right