-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quick Sets #72
Comments
Yup.. looks like it doesn't manage to cross the year boundary.. |
Ok, this is going to be somewhat hard to fix: Lines 2 to 8 in 6ad3abf
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.
The text was updated successfully, but these errors were encountered: