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
ISO 8601 defines the period of one month as a fixed number of calendar days, specified by the calendar.
In DateTimePeriod + Instant arithmetics, we treat a month as a separate time scale unit, namely, we resolve the LocalDateTime on which we perform arithmetics internally after adding the months but before adding the days.
Adding months and days should instead be done as a single change, only consulting the calendar, and the time zone should only be used once all calendar-based operations are performed.
Earlier, I attempted to implement a solution in (#330) and didn't create an issue ticket, hoping for a quick resolution, but at this point, I should file it so that this doesn't get forgotten about.
The text was updated successfully, but these errors were encountered:
ISO 8601 defines the period of one month as a fixed number of calendar days, specified by the calendar.
In
DateTimePeriod
+Instant
arithmetics, we treat a month as a separate time scale unit, namely, we resolve theLocalDateTime
on which we perform arithmetics internally after adding the months but before adding the days.Adding months and days should instead be done as a single change, only consulting the calendar, and the time zone should only be used once all calendar-based operations are performed.
Earlier, I attempted to implement a solution in (#330) and didn't create an issue ticket, hoping for a quick resolution, but at this point, I should file it so that this doesn't get forgotten about.
The text was updated successfully, but these errors were encountered: