2016-02-06 04:42:48 +08:00
|
|
|
|
//! moment.js locale configuration
|
2020-11-11 09:34:26 +08:00
|
|
|
|
//! locale : Arabic (Morocco) [ar-ma]
|
|
|
|
|
//! author : ElFadili Yassine : https://github.com/ElFadiliY
|
|
|
|
|
//! 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
|
|
|
|
|
2020-11-11 09:34:26 +08:00
|
|
|
|
//! moment.js locale configuration
|
2016-02-06 04:42:48 +08:00
|
|
|
|
|
2018-04-26 15:15:53 +08:00
|
|
|
|
var arMa = moment.defineLocale('ar-ma', {
|
2020-11-11 09:34:26 +08:00
|
|
|
|
months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
|
|
|
|
|
'_'
|
|
|
|
|
),
|
2022-04-12 01:27:24 +08:00
|
|
|
|
monthsShort:
|
|
|
|
|
'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
|
|
|
|
|
'_'
|
|
|
|
|
),
|
2020-11-11 09:34:26 +08:00
|
|
|
|
weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
|
|
|
|
|
weekdaysShort: 'احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),
|
|
|
|
|
weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
|
|
|
|
|
weekdaysParseExact: true,
|
|
|
|
|
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',
|
2018-04-26 15:15:53 +08:00
|
|
|
|
},
|
2020-11-11 09:34:26 +08:00
|
|
|
|
calendar: {
|
2018-04-26 15:15:53 +08:00
|
|
|
|
sameDay: '[اليوم على الساعة] LT',
|
|
|
|
|
nextDay: '[غدا على الساعة] LT',
|
|
|
|
|
nextWeek: 'dddd [على الساعة] LT',
|
|
|
|
|
lastDay: '[أمس على الساعة] LT',
|
|
|
|
|
lastWeek: 'dddd [على الساعة] LT',
|
2020-11-11 09:34:26 +08:00
|
|
|
|
sameElse: 'L',
|
2018-04-26 15:15:53 +08:00
|
|
|
|
},
|
2020-11-11 09:34:26 +08:00
|
|
|
|
relativeTime: {
|
|
|
|
|
future: 'في %s',
|
|
|
|
|
past: 'منذ %s',
|
|
|
|
|
s: 'ثوان',
|
|
|
|
|
ss: '%d ثانية',
|
|
|
|
|
m: 'دقيقة',
|
|
|
|
|
mm: '%d دقائق',
|
|
|
|
|
h: 'ساعة',
|
|
|
|
|
hh: '%d ساعات',
|
|
|
|
|
d: 'يوم',
|
|
|
|
|
dd: '%d أيام',
|
|
|
|
|
M: 'شهر',
|
|
|
|
|
MM: '%d أشهر',
|
|
|
|
|
y: 'سنة',
|
|
|
|
|
yy: '%d سنوات',
|
|
|
|
|
},
|
|
|
|
|
week: {
|
|
|
|
|
dow: 1, // Monday is the first day of the week.
|
|
|
|
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
2018-04-26 15:15:53 +08:00
|
|
|
|
},
|
|
|
|
|
});
|
2016-02-06 04:42:48 +08:00
|
|
|
|
|
2018-04-26 15:15:53 +08:00
|
|
|
|
return arMa;
|
2016-02-06 04:42:48 +08:00
|
|
|
|
|
2017-04-20 12:24:20 +08:00
|
|
|
|
})));
|