Operating with arbitrary timezones

Jon Zeppieri zeppieri at gmail.com
Fri Aug 5 22:32:51 UTC 2016


On Fri, Aug 5, 2016 at 6:21 PM, Alexander Jones <alex at weej.com> wrote:

> Don't confuse timezones with timezone offsets. They are different concepts.



How am I confusing them? You wrote:

What I meant by Date+Time components was actually { year, month, day,
> hours, minutes, seconds, offset }. I think it makes sense to formalise this
> as an expression of a time point (aka Date) *in a particular timezone*. For
> example this can be used to decide e.g. "are these two time points in the
> same month in this specific timezone", where that month may be e.g. 31 days
> + 1 hour. It could also be formatted for display.


And I'm saying, in response, that if you want to formalize the concept of a
time point in a particular time zone, this isn't a good way to do it. If
instead you want to formalize the concept of a particular point in time at
a particular UTC offset, then it's fine, of course, but at that point, I'd
just reiterate Tab's response.

- Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20160805/00845f22/attachment.html>


More information about the es-discuss mailing list