summaryrefslogtreecommitdiffstats
path: root/js/vendor/momentjs/locale/fa.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/vendor/momentjs/locale/fa.js')
-rw-r--r--js/vendor/momentjs/locale/fa.js36
1 files changed, 19 insertions, 17 deletions
diff --git a/js/vendor/momentjs/locale/fa.js b/js/vendor/momentjs/locale/fa.js
index 6d765751c..de40e6f93 100644
--- a/js/vendor/momentjs/locale/fa.js
+++ b/js/vendor/momentjs/locale/fa.js
@@ -1,16 +1,15 @@
-// moment.js locale configuration
-// locale : Persian (fa)
-// author : Ebrahim Byagowi : https://github.com/ebraminio
+//! moment.js locale configuration
+//! locale : Persian (fa)
+//! author : Ebrahim Byagowi : https://github.com/ebraminio
+
+;(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('fa', {
+ var fa = moment.defineLocale('fa', {
months : 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'),
monthsShort : 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'),
weekdays : 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split('_'),
@@ -43,11 +42,11 @@
weekdaysMin : 'ی_د_س_چ_پ_ج_ش'.split('_'),
longDateFormat : {
LT : 'HH:mm',
- LTS : 'LT:ss',
+ 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) {
@@ -100,4 +99,7 @@
doy : 12 // The week that contains Jan 1st is the first week of the year.
}
});
-}));
+
+ return fa;
+
+})); \ No newline at end of file