Город МОСКОВСКИЙ
00:27:50

A Complete Tutorial on the new MomentJS Library - Luxon JS

Аватар
Реактивные Новички
Просмотры:
29
Дата загрузки:
27.11.2023 21:53
Длительность:
00:27:50
Категория:
Обучение

Описание

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: https://gist.github.com/prof3ssorSt3v3/3372830d8bb0a95f62f783b8d4ef977b

MomentJS library - http://momentjs.com/

LuxonJS Guide - https://moment.github.io/luxon/docs/manual/zones.html

LuxonJS Reference - https://moment.github.io/luxon/docs/class/src/datetime.js~DateTime.html

IANA Timezone reference - https://www.iana.org/time-zones

Wikipedia Timezone reference - https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

MDN Intl reference - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl

Caniuse.com support for JS Intl Objects - https://caniuse.com/#search=intl

Рекомендуемые видео