Operating with arbitrary timezones

Jon Zeppieri zeppieri at gmail.com
Sat Aug 6 09:36:22 UTC 2016

On Sat, Aug 6, 2016 at 4:27 AM, Alexander Jones <alex at weej.com> wrote:

> I'm not sure I properly conveyed myself above given what you're saying.
> Let me back up and explain more clearly now I have an actual keyboard in
> front of me.
> Currently we have `Date.prototype.toLocaleString()`, which conflates two
> concerns:
> 1. Taking an unambiguous *time point* to a { year, month, day, hours,
> minutes, seconds, milliseconds, timezoneOffset } for the selected
> *timezone* (which is the subject of this thread).
> 2. Formatting those "local datetime components" in a way appropriate to a
> specific locale.
Ah -- you're right. I didn't understand what you were getting at before.
This was very helpful. Thanks. - J
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20160806/f6ba6678/attachment.html>

More information about the es-discuss mailing list