Open
Description
I assume I'm doing something wrong here but I am baffled by this behaviour:
utop # ISO8601.Permissive.datetime_tz "2020-02-14T06:56:42Z";;
- : float * float option = (1581667002., Some 0.)
utop # ISO8601.Permissive.datetime_tz "2020-02-14T06:56:42Z" |> fst |> ISO8601.Permissive.string_of_datetime;;
- : string = "2020-02-14T07:56:42"
The time printed is shifted by one hour from the time that was parsed. How would I prevent that?
Metadata
Metadata
Assignees
Labels
No labels