offset value
idoo opened this issue · comments
Ivan Verevkin commented
I read the API documentation an as result I have a question:
is there any reason to use offset from midnight.
instead the offset of time zones
? and why we should use this offset in dateTime in case we have ZonedDateTime.elm
Bogdan Popa commented
offset from midnight
refers to the DateTime
type's internal representation of the current hour/minute/second/millisecond. We use the offset so we don't have to store 4 separate values for those things and to make things easier to compute. As a user of this library, you won't generally have to care about that since it's just an implementation detail.