You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I have a feeling that rehashing an integer made from an object with a negative year doesn't work the way it's supposed to or that I'm doing something wrong.
Say I do the following;
date = PartialDate::Date.new
date.year = -1999
date.value
# -19990000
So far so good. Except if I try to rehydrate this value...
date = PartialDate::Date.load -19990000
date.year
# -978943
Any ideas? Thanks!
The text was updated successfully, but these errors were encountered:
Hi! I have a feeling that rehashing an integer made from an object with a negative year doesn't work the way it's supposed to or that I'm doing something wrong.
Say I do the following;
So far so good. Except if I try to rehydrate this value...
Any ideas? Thanks!
The text was updated successfully, but these errors were encountered: