-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Errors with dates before Jan 1, 1970 #791
Comments
Here is a thing related. I don't if the rrule project include this into and what kind impact can will be. Are you propose keep a rrule patched for this kind of case? |
Interesting. I am not sure of the impact of changing dates we try and parse. If that causes issues I think that it would be best to have a patched rrule version if that PR is not merged. EDIT: |
I edited my local version of rrule by changing |
This is related with #839. Some calendar are not loaded maybe containt events before Jan 1, 1970 |
Thank you! changing the ORDINAL_BASE worked for me. |
This issue is called epoch time. It is how Unix (and by extent, Linux) systems count time. It starts on January 1st, 1970. This issues makes complete sense, considering that negative time doesn't exist. |
Sorry, but I don't think limited representability in one of the underlying formats is a good reason to not support times outside that formats range ;) |
@berlincount |
@berlincount I mean, yes, JavaScript supports going before that, but it doesn't make sense unless you patch the kernel. Which is annoying and weird. In this case, you can edit the ORDINAL_BASE as said above. |
Seems like ruule-alt isn't much more supported than just rrule. I wonder if there are other repeating rule js libraries out there (haven't checked but might be worth it). |
Closed due to inactivity. Feel free to reopen. |
I think that I have some calendar events that somehow start before Jan 1, 1970 - can't say I know which of them is to blame here but I am assuming that this is a birthday. I was looking through the logs and kept seeing:
I think that we should probably gracefully change their start dates to Jan 1, 1970 (if we are not calculating ages when showing B-Days). I might have some time in the next few days to work on a PR.
The text was updated successfully, but these errors were encountered: