diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-11-27 16:19:56 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-11-27 16:19:56 +0100 |
commit | 01fe3a627ea76c10ec759fb070ea47a0851a0636 (patch) | |
tree | 5f9c0b94742e070f20ab111766d3218bd6c7510f /js/vendor/momentjs/locale | |
parent | 7c34fee7ebc09ffaaf14019ae195b1b42e138e3f (diff) |
version bump
Diffstat (limited to 'js/vendor/momentjs/locale')
78 files changed, 273 insertions, 115 deletions
diff --git a/js/vendor/momentjs/locale/af.js b/js/vendor/momentjs/locale/af.js index 1b8c52078..2fb7adff2 100644 --- a/js/vendor/momentjs/locale/af.js +++ b/js/vendor/momentjs/locale/af.js @@ -8,7 +8,7 @@ } else if (typeof exports === 'object') { module.exports = factory(require('../moment')); // Node } else { - factory(window.moment); // Browser global + factory((typeof global !== 'undefined' ? global : this).moment); // node or other global } }(function (moment) { return moment.defineLocale('af', { @@ -26,6 +26,7 @@ }, longDateFormat : { LT : 'HH:mm', + LTS : 'LT:ss', L : 'DD/MM/YYYY', LL : 'D MMMM YYYY', LLL : 'D MMMM YYYY LT', @@ -54,6 +55,7 @@ y : '\'n jaar', yy : '%d jaar' }, + ordinalParse: /\d{1,2}(ste|de)/, ordinal : function (number) { return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de'); // Thanks to Joris Röling : https://github.com/jjupiter }, diff --git a/js/vendor/momentjs/locale/ar-ma.js b/js/vendor/momentjs/locale/ar-ma.js index 5b2095a8a..7add17220 100644 --- a/js/vendor/momentjs/locale/ar-ma.js +++ b/js/vendor/momentjs/locale/ar-ma.js @@ -9,7 +9,7 @@ } else if (typeof exports === 'object') { module.exports = factory(require('../moment')); // Node } else { - factory(window.moment); // Browser global + factory((typeof global !== 'undefined' ? global : this).moment); // node or other global } }(function (moment) { return moment.defineLocale('ar-ma', { @@ -20,6 +20,7 @@ weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'), longDateFormat : { LT : 'HH:mm', + LTS : 'LT:ss', L : 'DD/MM/YYYY', LL : 'D MMMM YYYY', LLL : 'D MMMM YYYY LT', diff --git a/js/vendor/momentjs/locale/ar-sa.js b/js/vendor/momentjs/locale/ar-sa.js index f7867eacf..ea7e2f6b4 100644 --- a/js/vendor/momentjs/locale/ar-sa.js +++ b/js/vendor/momentjs/locale/ar-sa.js @@ -8,7 +8,7 @@ } else if (typeof exports === 'object') { module.exports = factory(require('../moment')); // Node } else { - factory(window.moment); // Browser global + factory((typeof global !== 'undefined' ? global : this).moment); // node or other global } }(function (moment) { var symbolMap = { @@ -43,6 +43,7 @@ weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'), longDateFormat : { LT : 'HH:mm', + LTS : 'HH:mm:ss', L : 'DD/MM/YYYY', LL : 'D MMMM YYYY', LLL : 'D MMMM YYYY LT', @@ -79,7 +80,7 @@ yy : '%d سنوات' }, preparse: function (string) { - return string.replace(/[۰-۹]/g, function (match) { + return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { return numberMap[match]; }).replace(/،/g, ','); }, diff --git a/js/vendor/momentjs/locale/ar.js b/js/vendor/momentjs/locale/ar.js index 1791a6b39..d6450087d 100644 --- a/js/vendor/momentjs/locale/ar.js +++ b/js/vendor/momentjs/locale/ar.js @@ -10,7 +10,7 @@ } else if (typeof exports === 'object') { module.exports = factory(require('../moment')); // Node } else { - factory(window.moment); // Browser global + factory((typeof global !== 'undefined' ? global : this).moment); // node or other global } }(function (moment) { var symbolMap = { @@ -76,6 +76,7 @@ weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'), longDateFormat : { LT : 'HH:mm', + LTS : 'HH:mm:ss', L : 'DD/MM/YYYY', LL : 'D MMMM YYYY', LLL : 'D MMMM YYYY LT', @@ -112,7 +113,7 @@ yy : pluralize('y') }, preparse: function (string) { - return string.replace(/[۰-۹]/g, function (match) { + return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { return numberMap[match]; }).replace(/،/g, ','); }, diff --git a/js/vendor/momentjs/locale/az.js b/js/vendor/momentjs/locale/az.js index e82f6e111..d4d143426 100644 --- a/js/vendor/momentjs/locale/az.js +++ b/js/vendor/momentjs/locale/az.js @@ -8,7 +8,7 @@ } else if (typeof exports === 'object') { module.exports = factory(require('../moment')); // Node } else { - factory(window.moment); // Browser global + factory((typeof global !== 'undefined' ? global : this).moment); // node or other global } }(function (moment) { var suffixes = { @@ -44,6 +44,7 @@ weekdaysMin : 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'), longDateFormat : { LT : 'HH:mm', + LTS : 'LT:ss', L : 'DD.MM.YYYY', LL : 'D MMMM YYYY', LLL : 'D MMMM YYYY LT', @@ -83,6 +84,7 @@ return 'axşam'; } }, + ordinalParse: /\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/, ordinal : function (number) { if (number === 0) { // special case for zero return number + '-ıncı'; diff --git a/js/vendor/momentjs/locale/be.js b/js/vendor/momentjs/locale/be.js index fe3186a19..68a6f37cb 100644 --- a/js/vendor/momentjs/locale/be.js +++ b/js/vendor/momentjs/locale/be.js @@ -10,7 +10,7 @@ } else if (typeof exports === 'object') { module.exports = factory(require('../moment')); // Node } else { - factory(window.moment); // Browser global + factory((typeof global !== 'undefined' ? global : this).moment); // node or other global } }(function (moment) { function plural(word, num) { @@ -71,6 +71,7 @@ weekdaysMin : 'нд_пн_ат_ср_чц_пт_сб'.split('_'), longDateFormat : { LT : 'HH:mm', + LTS : 'LT:ss', L : 'DD.MM.YYYY', LL : 'D MMMM YYYY г.', LLL : 'D MMMM YYYY г., LT', @@ -127,6 +128,7 @@ } }, + ordinalParse: /\d{1,2}-(і|ы|га)/, ordinal: function (number, period) { switch (period) { case 'M': diff --git a/js/vendor/momentjs/locale/bg.js b/js/vendor/momentjs/locale/bg.js index 41b1e3aff..540e17b55 100644 --- a/js/vendor/momentjs/locale/bg.js +++ b/js/vendor/momentjs/locale/bg.js @@ -8,7 +8,7 @@ } else if (typeof exports === 'object') { module.exports = factory(require('../moment')); // Node } else { - factory(window.moment); // Browser global + factory((typeof global !== 'undefined' ? global : this).moment); // node or other global } }(function (moment) { return moment.defineLocale('bg', { @@ -19,6 +19,7 @@ weekdaysMin : 'нд_пн_вт_ср_чт_пт_сб'.split('_'), longDateFormat : { LT : 'H:mm', + LTS : 'LT:ss', L : 'D.MM.YYYY', LL : 'D MMMM YYYY', LLL : 'D MMMM YYYY LT', @@ -59,6 +60,7 @@ y : 'година', yy : '%d години' }, + ordinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/, ordinal : function (number) { var lastDigit = number % 10, last2Digits = number % 100; diff --git a/js/vendor/momentjs/locale/bn.js b/js/vendor/momentjs/locale/bn.js index 7e8ccfd53..e9549d993 100644 --- a/js/vendor/momentjs/locale/bn.js +++ b/js/vendor/momentjs/locale/bn.js @@ -8,7 +8,7 @@ } else if (typeof exports === 'object') { module.exports = factory(require('../moment')); // Node } else { - factory(window.moment); // Browser global + factory((typeof global !== 'undefined' ? global : this).moment); // node or other global } }(function (moment) { var symbolMap = { @@ -44,6 +44,7 @@ weekdaysMin : 'রব_সম_মঙ্গ_বু_ব্রিহ_শু_শনি'.split('_'), longDateFormat : { LT : 'A h:mm সময়', + LTS : 'A h:mm:ss সময়', L : 'DD/MM/YYYY', LL : 'D MMMM YYYY', LLL : 'D MMMM YYYY, LT', diff --git a/js/vendor/momentjs/locale/bo.js b/js/vendor/momentjs/locale/bo.js index 0d44e47f1..cece8d133 100644 --- a/js/vendor/momentjs/locale/bo.js +++ b/js/vendor/momentjs/locale/bo.js @@ -8,7 +8,7 @@ } else if (typeof exports === 'object') { module.exports = factory(require('../moment')); // Node } else { - factory(window.moment); // Browser global + factory((typeof global !== 'undefined' ? global : this).moment); // node or other global } }(function (moment) { var symbolMap = { @@ -44,6 +44,7 @@ weekdaysMin : 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split('_'), longDateFormat : { LT : 'A h:mm', + LTS : 'LT:ss', L : 'DD/MM/YYYY', LL : 'D MMMM YYYY', LLL : 'D MMMM YYYY, LT', diff --git a/js/vendor/momentjs/locale/br.js b/js/vendor/momentjs/locale/br.js index a4f1491d5..1f8dd614f 100644 --- a/js/vendor/momentjs/locale/br.js +++ b/js/vendor/momentjs/locale/br.js @@ -8,7 +8,7 @@ } else if (typeof exports === 'object') { module.exports = factory(require('../moment')); // Node } else { - factory(window.moment); |