Closed MichaelLiss closed 5 months ago
whoop... it IS there:
{
"date": "2027-12-24 00:00:00",
"start": "2027-12-24T07:00:00.000Z",
"end": "2027-12-25T07:00:00.000Z",
"name": "Christmas Day (substitute day)",
"type": "public",
"substitute": true,
"rule": "12-25 and if sunday then next monday if saturday then previous friday"
},
Yes, this has to do with the "12-25 and ..." rule. It is assumed that people will still celebrate on 25th apart from getting an additional day off given by the legislation. Hope its fine if I am closing this issue...
I ran this;
got this:
I was expecting 24 December based on
"rule": "12-25 and if sunday then next monday if saturday then previous friday"
NOTE: Sunday ( for 2033 ) seems to work: