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
The calendar library seems to apply DST of the current date rather than the date to be converted. From a locale time zone with DST, the following should show the problem:
Printer.Calendar.to_string (on (fun () -> Calendar.make 2015 1 1 10 00 00) UTC ());;
- : bytes = "2015-01-01 12:00:00"
Printer.Calendar.to_string (on (fun () -> Calendar.make 2015 7 1 10 00 00) UTC ());;
- : bytes = "2015-07-01 12:00:00"
As I'm in a CET with DST time zone I would expect the first to return 11:00:00.
Calendar version 2.03.2.
The text was updated successfully, but these errors were encountered:
Originally reported here by Petter Urkedal
The calendar library seems to apply DST of the current date rather than the date to be converted. From a locale time zone with DST, the following should show the problem:
As I'm in a CET with DST time zone I would expect the first to return 11:00:00.
Calendar version 2.03.2.
The text was updated successfully, but these errors were encountered: