Open wino45 opened 3 years ago
Yup.. looks like it doesn't manage to cross the year boundary..
Ok, this is going to be somewhat hard to fix:
Internally, a "day" is number derived from the date, but it doesn't count 365 days in the year, it does 512, such that the day has a fixed number of bits in the date representation.
So the problem with the "14 days quick set" on Jan 8 is that it reaches into 6 unused days in the previous year.
This is frankly a bad design, but is hard to fix now, because these day numbers are stored in the database.
So there's two solutions:
2 is a lot simpler, 1 is cleaner..
Some of the Quick Sets are not working today (Jan 8): 14 days, 30 days,.. All of them that go back to year 2020.