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
@distbug , my apologies for the delay on tackling this issue. I can confirm that this has been fixed in the upcoming version 4.0.0. I've rewritten the algorithm that computes the Gregorian days from the duration in a given time scale.
Hi,
using CPython 3.11.3 and the latest version of hifitime (3.8.2), strftime does not work with epochs using the GPST/BDT/GST time scale.
Expected:
2022 03 01 01 01 59 000000001 GPST
Actual output:
1942 02 25 01 01 40 000000001 GPST
It works if the time scale is given as UTC or TAI:
Output:
2022 03 01 01 01 59 000000001 UTC
Similarily
to_gregorian_utc_str
does not work, but that is as far as I can tell related to #209Expected:
2022-03-01T01:01:41.000000001 UTC
Actual output:
2022-03-01T01:01:22.000000001 UTC
The same wrong offset of 37 seconds is used here as mentioned in the other issue.
The text was updated successfully, but these errors were encountered: