Add timezone data to Date

medikoo medikoo+mozilla.org at medikoo.com
Wed Jun 21 11:28:33 UTC 2017


Timezone data is already *indirectly* accessible via native
Intl.DateTimeFormat (I've also once published an util that allows to work
that: https://github.com/medikoo/date-from-timezone ).

Still it would be way better if there's some direct access provided, whether
it should be directly on Date or on Intl.DateTimeFormat is to be discussed
(I would possibly vote for Intl.DateTimeFormat)



--
View this message in context: http://mozilla.6506.n7.nabble.com/Add-timezone-data-to-Date-tp366272p366292.html
Sent from the Mozilla - ECMAScript 4 discussion mailing list archive at Nabble.com.


More information about the es-discuss mailing list