Closed darrenldl closed 2 years ago
Relatedly: if there is a correspondence between timestamp
and float
, I would have maybe expected to find it in the Timestamp
module. Instead it's in Date_time
({to,of}_timestamp_float
) with also bits of logic in Span
(which I didn't think of looking at).
Addressed with timedesc 0.8.0
@gasche #29 reminded me that Ptime has explicit construction from
Span.t
to timestamp:and I wonder if Timere should follow that as well instead of what is right now
type timestamp = Span.t
and failing with Invalid_argument when out of range?