2016-02-06 04:42:48 +08:00
|
|
|
|
//! moment.js locale configuration
|
2017-04-20 12:24:20 +08:00
|
|
|
|
//! locale : Central Atlas Tamazight [tzm]
|
2016-02-06 04:42:48 +08:00
|
|
|
|
//! author : Abdel Said : https://github.com/abdelsaid
|
2014-08-21 02:41:50 +08:00
|
|
|
|
|
2016-02-06 04:42:48 +08:00
|
|
|
|
;(function (global, factory) {
|
|
|
|
|
typeof exports === 'object' && typeof module !== 'undefined'
|
|
|
|
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
2017-04-20 12:24:20 +08:00
|
|
|
|
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
2016-02-06 04:42:48 +08:00
|
|
|
|
factory(global.moment)
|
2017-04-20 12:24:20 +08:00
|
|
|
|
}(this, (function (moment) { 'use strict';
|
2016-02-06 04:42:48 +08:00
|
|
|
|
|
|
|
|
|
|
2017-04-20 12:24:20 +08:00
|
|
|
|
var tzm = moment.defineLocale('tzm', {
|
|
|
|
|
months : 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'),
|
|
|
|
|
monthsShort : 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'),
|
|
|
|
|
weekdays : 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
|
|
|
|
|
weekdaysShort : 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
|
|
|
|
|
weekdaysMin : 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
|
|
|
|
|
longDateFormat : {
|
|
|
|
|
LT : 'HH:mm',
|
|
|
|
|
LTS: 'HH:mm:ss',
|
|
|
|
|
L : 'DD/MM/YYYY',
|
|
|
|
|
LL : 'D MMMM YYYY',
|
|
|
|
|
LLL : 'D MMMM YYYY HH:mm',
|
|
|
|
|
LLLL : 'dddd D MMMM YYYY HH:mm'
|
|
|
|
|
},
|
|
|
|
|
calendar : {
|
|
|
|
|
sameDay: '[ⴰⵙⴷⵅ ⴴ] LT',
|
|
|
|
|
nextDay: '[ⴰⵙⴽⴰ ⴴ] LT',
|
|
|
|
|
nextWeek: 'dddd [ⴴ] LT',
|
|
|
|
|
lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT',
|
|
|
|
|
lastWeek: 'dddd [ⴴ] LT',
|
|
|
|
|
sameElse: 'L'
|
|
|
|
|
},
|
|
|
|
|
relativeTime : {
|
|
|
|
|
future : 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s',
|
|
|
|
|
past : 'ⵢⴰⵏ %s',
|
|
|
|
|
s : 'ⵉⵎⵉⴽ',
|
|
|
|
|
m : 'ⵎⵉⵏⵓⴺ',
|
|
|
|
|
mm : '%d ⵎⵉⵏⵓⴺ',
|
|
|
|
|
h : 'ⵙⴰⵄⴰ',
|
|
|
|
|
hh : '%d ⵜⴰⵙⵙⴰⵄⵉⵏ',
|
|
|
|
|
d : 'ⴰⵙⵙ',
|
|
|
|
|
dd : '%d oⵙⵙⴰⵏ',
|
|
|
|
|
M : 'ⴰⵢoⵓⵔ',
|
|
|
|
|
MM : '%d ⵉⵢⵢⵉⵔⵏ',
|
|
|
|
|
y : 'ⴰⵙⴳⴰⵙ',
|
|
|
|
|
yy : '%d ⵉⵙⴳⴰⵙⵏ'
|
|
|
|
|
},
|
|
|
|
|
week : {
|
|
|
|
|
dow : 6, // Saturday is the first day of the week.
|
|
|
|
|
doy : 12 // The week that contains Jan 1st is the first week of the year.
|
|
|
|
|
}
|
|
|
|
|
});
|
2016-02-06 04:42:48 +08:00
|
|
|
|
|
2017-04-20 12:24:20 +08:00
|
|
|
|
return tzm;
|
2016-02-06 04:42:48 +08:00
|
|
|
|
|
2017-04-20 12:24:20 +08:00
|
|
|
|
})));
|