tzm-latn.js (2237B)
1//! moment.js locale configuration 2//! locale : Central Atlas Tamazight Latin [tzm-latn] 3//! author : Abdel Said : https://github.com/abdelsaid 4 5;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10}(this, (function (moment) { 'use strict'; 11 12 //! moment.js locale configuration 13 14 var tzmLatn = moment.defineLocale('tzm-latn', { 15 months: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split( 16 '_' 17 ), 18 monthsShort: 19 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split( 20 '_' 21 ), 22 weekdays: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), 23 weekdaysShort: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), 24 weekdaysMin: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), 25 longDateFormat: { 26 LT: 'HH:mm', 27 LTS: 'HH:mm:ss', 28 L: 'DD/MM/YYYY', 29 LL: 'D MMMM YYYY', 30 LLL: 'D MMMM YYYY HH:mm', 31 LLLL: 'dddd D MMMM YYYY HH:mm', 32 }, 33 calendar: { 34 sameDay: '[asdkh g] LT', 35 nextDay: '[aska g] LT', 36 nextWeek: 'dddd [g] LT', 37 lastDay: '[assant g] LT', 38 lastWeek: 'dddd [g] LT', 39 sameElse: 'L', 40 }, 41 relativeTime: { 42 future: 'dadkh s yan %s', 43 past: 'yan %s', 44 s: 'imik', 45 ss: '%d imik', 46 m: 'minuḍ', 47 mm: '%d minuḍ', 48 h: 'saɛa', 49 hh: '%d tassaɛin', 50 d: 'ass', 51 dd: '%d ossan', 52 M: 'ayowr', 53 MM: '%d iyyirn', 54 y: 'asgas', 55 yy: '%d isgasn', 56 }, 57 week: { 58 dow: 6, // Saturday is the first day of the week. 59 doy: 12, // The week that contains Jan 12th is the first week of the year. 60 }, 61 }); 62 63 return tzmLatn; 64 65})));