MomentJS is a fantastic JavaScript Library for working with Times and Dates. It goes well beyond what you can do with a basic JavaScript Date( ) object.
However, moment does have limitations too.
LuxonJS is the new library from one of the team that created MomentJS. It includes all the Modern Browser capabilities for working with internationalized and localized times and dates without having to download extra JavaScript files that include the timezone and multilingual information.
Code GIST: gist.github.com/prof3ssorSt3v...
MomentJS library - momentjs.com/
LuxonJS Guide - moment.github.io/luxon/docs/m...
LuxonJS Reference - moment.github.io/luxon/docs/c...
IANA Timezone reference - www.iana.org/time-zones
Wikipedia Timezone reference - en.wikipedia.org/wiki/List_of...
MDN Intl reference - developer.mozilla.org/en-US/d...
Caniuse.com support for JS Intl Objects - caniuse.com/#search=intl
27 июл 2018