PATH:
opt
/
bitninja-threat-hunting
/
node_modules
/
moment
/
src
/
lib
/
locale
import './prototype'; import { getSetGlobalLocale } from './locales'; import toInt from '../utils/to-int'; getSetGlobalLocale('en', { eras: [ { since: '0001-01-01', until: +Infinity, offset: 1, name: 'Anno Domini', narrow: 'AD', abbr: 'AD', }, { since: '0000-12-31', until: -Infinity, offset: 1, name: 'Before Christ', narrow: 'BC', abbr: 'BC', }, ], dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/, ordinal: function (number) { var b = number % 10, output = toInt((number % 100) / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th'; return number + output; }, });
[-] en.js
[edit]
[-] invalid.js
[edit]
[+]
..
[-] base-config.js
[edit]
[-] constructor.js
[edit]
[-] relative.js
[edit]
[-] lists.js
[edit]
[-] locales.js
[edit]
[-] pre-post-format.js
[edit]
[-] formats.js
[edit]
[-] prototype.js
[edit]
[-] calendar.js
[edit]
[-] set.js
[edit]
[-] ordinal.js
[edit]
[-] locale.js
[edit]