tzm.js (2322B)
1//! moment.js locale configuration 2//! locale : Central Atlas Tamazight [tzm] 3//! author : Abdel Said : https://github.com/abdelsaid 4 5import moment from '../moment'; 6 7export default moment.defineLocale('tzm', { 8 months: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split( 9 '_' 10 ), 11 monthsShort: 12 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split( 13 '_' 14 ), 15 weekdays: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), 16 weekdaysShort: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), 17 weekdaysMin: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), 18 longDateFormat: { 19 LT: 'HH:mm', 20 LTS: 'HH:mm:ss', 21 L: 'DD/MM/YYYY', 22 LL: 'D MMMM YYYY', 23 LLL: 'D MMMM YYYY HH:mm', 24 LLLL: 'dddd D MMMM YYYY HH:mm', 25 }, 26 calendar: { 27 sameDay: '[ⴰⵙⴷⵅ ⴴ] LT', 28 nextDay: '[ⴰⵙⴽⴰ ⴴ] LT', 29 nextWeek: 'dddd [ⴴ] LT', 30 lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT', 31 lastWeek: 'dddd [ⴴ] LT', 32 sameElse: 'L', 33 }, 34 relativeTime: { 35 future: 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s', 36 past: 'ⵢⴰⵏ %s', 37 s: 'ⵉⵎⵉⴽ', 38 ss: '%d ⵉⵎⵉⴽ', 39 m: 'ⵎⵉⵏⵓⴺ', 40 mm: '%d ⵎⵉⵏⵓⴺ', 41 h: 'ⵙⴰⵄⴰ', 42 hh: '%d ⵜⴰⵙⵙⴰⵄⵉⵏ', 43 d: 'ⴰⵙⵙ', 44 dd: '%d oⵙⵙⴰⵏ', 45 M: 'ⴰⵢoⵓⵔ', 46 MM: '%d ⵉⵢⵢⵉⵔⵏ', 47 y: 'ⴰⵙⴳⴰⵙ', 48 yy: '%d ⵉⵙⴳⴰⵙⵏ', 49 }, 50 week: { 51 dow: 6, // Saturday is the first day of the week. 52 doy: 12, // The week that contains Jan 12th is the first week of the year. 53 }, 54});