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: [ Ссылка ]
MomentJS library - [ Ссылка ]
LuxonJS Guide - [ Ссылка ]
LuxonJS Reference - [ Ссылка ]
IANA Timezone reference - [ Ссылка ]
Wikipedia Timezone reference - [ Ссылка ]
MDN Intl reference - [ Ссылка ]
Caniuse.com support for JS Intl Objects - [ Ссылка ]
Ещё видео!