summaryrefslogtreecommitdiffstats
path: root/js/vendor/momentjs/locale/ar-sa.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/vendor/momentjs/locale/ar-sa.js')
-rw-r--r--js/vendor/momentjs/locale/ar-sa.js34
1 files changed, 18 insertions, 16 deletions
diff --git a/js/vendor/momentjs/locale/ar-sa.js b/js/vendor/momentjs/locale/ar-sa.js
index 731f97be3..7541c52dc 100644
--- a/js/vendor/momentjs/locale/ar-sa.js
+++ b/js/vendor/momentjs/locale/ar-sa.js
@@ -1,16 +1,15 @@
-// moment.js locale configuration
-// locale : Arabic Saudi Arabia (ar-sa)
-// author : Suhail Alkowaileet : https://github.com/xsoh
+//! moment.js locale configuration
+//! locale : Arabic Saudi Arabia (ar-sa)
+//! author : Suhail Alkowaileet : https://github.com/xsoh
+
+;(function (global, factory) {
+ typeof exports === 'object' && typeof module !== 'undefined'
+ && typeof require === 'function' ? factory(require('../moment')) :
+ typeof define === 'function' && define.amd ? define(['moment'], factory) :
+ factory(global.moment)
+}(this, function (moment) { 'use strict';
+
-(function (factory) {
- if (typeof define === 'function' && define.amd) {
- define(['moment'], factory); // AMD
- } else if (typeof exports === 'object') {
- module.exports = factory(require('../moment')); // Node
- } else {
- factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
- }
-}(function (moment) {
var symbolMap = {
'1': '١',
'2': '٢',
@@ -35,7 +34,7 @@
'٠': '0'
};
- return moment.defineLocale('ar-sa', {
+ var ar_sa = moment.defineLocale('ar-sa', {
months : 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),
monthsShort : 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),
weekdays : 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
@@ -46,8 +45,8 @@
LTS : 'HH:mm:ss',
L : 'DD/MM/YYYY',
LL : 'D MMMM YYYY',
- LLL : 'D MMMM YYYY LT',
- LLLL : 'dddd D MMMM YYYY LT'
+ LLL : 'D MMMM YYYY HH:mm',
+ LLLL : 'dddd D MMMM YYYY HH:mm'
},
meridiemParse: /ص|م/,
isPM : function (input) {
@@ -98,4 +97,7 @@
doy : 12 // The week that contains Jan 1st is the first week of the year.
}
});
-}));
+
+ return ar_sa;
+
+})); \ No newline at end of file