1 ;(function (global, factory) {
2 typeof exports === 'object' && typeof module !== 'undefined'
3 && typeof require === 'function' ? factory(require('../moment')) :
4 typeof define === 'function' && define.amd ? define(['moment'], factory) :
6 }(this, function (moment) { 'use strict';
8 //! moment.js locale configuration
9 //! locale : afrikaans (af)
10 //! author : Werner Mollentze : https://github.com/wernerm
12 var af = moment.defineLocale('af', {
13 months : 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split('_'),
14 monthsShort : 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'),
15 weekdays : 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split('_'),
16 weekdaysShort : 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'),
17 weekdaysMin : 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'),
18 meridiemParse: /vm|nm/i,
19 isPM : function (input) {
20 return /^nm$/i.test(input);
22 meridiem : function (hours, minutes, isLower) {
24 return isLower ? 'vm' : 'VM';
26 return isLower ? 'nm' : 'NM';
34 LLL : 'D MMMM YYYY HH:mm',
35 LLLL : 'dddd, D MMMM YYYY HH:mm'
38 sameDay : '[Vandag om] LT',
39 nextDay : '[Môre om] LT',
40 nextWeek : 'dddd [om] LT',
41 lastDay : '[Gister om] LT',
42 lastWeek : '[Laas] dddd [om] LT',
48 s : '\'n paar sekondes',
60 ordinalParse: /\d{1,2}(ste|de)/,
61 ordinal : function (number) {
62 return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de'); // Thanks to Joris Röling : https://github.com/jjupiter
65 dow : 1, // Maandag is die eerste dag van die week.
66 doy : 4 // Die week wat die 4de Januarie bevat is die eerste week van die jaar.
70 //! moment.js locale configuration
71 //! locale : Moroccan Arabic (ar-ma)
72 //! author : ElFadili Yassine : https://github.com/ElFadiliY
73 //! author : Abdel Said : https://github.com/abdelsaid
75 var ar_ma = moment.defineLocale('ar-ma', {
76 months : 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'),
77 monthsShort : 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'),
78 weekdays : 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
79 weekdaysShort : 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),
80 weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'),
81 weekdaysParseExact : true,
87 LLL : 'D MMMM YYYY HH:mm',
88 LLLL : 'dddd D MMMM YYYY HH:mm'
91 sameDay: '[اليوم على الساعة] LT',
92 nextDay: '[غدا على الساعة] LT',
93 nextWeek: 'dddd [على الساعة] LT',
94 lastDay: '[أمس على الساعة] LT',
95 lastWeek: 'dddd [على الساعة] LT',
114 dow : 6, // Saturday is the first day of the week.
115 doy : 12 // The week that contains Jan 1st is the first week of the year.
119 //! moment.js locale configuration
120 //! locale : Arabic Saudi Arabia (ar-sa)
121 //! author : Suhail Alkowaileet : https://github.com/xsoh
123 var ar_sa__symbolMap = {
134 }, ar_sa__numberMap = {
147 var ar_sa = moment.defineLocale('ar-sa', {
148 months : 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),
149 monthsShort : 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),
150 weekdays : 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
151 weekdaysShort : 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
152 weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'),
153 weekdaysParseExact : true,
159 LLL : 'D MMMM YYYY HH:mm',
160 LLLL : 'dddd D MMMM YYYY HH:mm'
162 meridiemParse: /ص|م/,
163 isPM : function (input) {
164 return 'م' === input;
166 meridiem : function (hour, minute, isLower) {
174 sameDay: '[اليوم على الساعة] LT',
175 nextDay: '[غدا على الساعة] LT',
176 nextWeek: 'dddd [على الساعة] LT',
177 lastDay: '[أمس على الساعة] LT',
178 lastWeek: 'dddd [على الساعة] LT',
196 preparse: function (string) {
197 return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
198 return ar_sa__numberMap[match];
199 }).replace(/،/g, ',');
201 postformat: function (string) {
202 return string.replace(/\d/g, function (match) {
203 return ar_sa__symbolMap[match];
204 }).replace(/,/g, '،');
207 dow : 6, // Saturday is the first day of the week.
208 doy : 12 // The week that contains Jan 1st is the first week of the year.
212 //! moment.js locale configuration
213 //! locale : Tunisian Arabic (ar-tn)
215 var ar_tn = moment.defineLocale('ar-tn', {
216 months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),
217 monthsShort: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),
218 weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
219 weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
220 weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
221 weekdaysParseExact : true,
227 LLL: 'D MMMM YYYY HH:mm',
228 LLLL: 'dddd D MMMM YYYY HH:mm'
231 sameDay: '[اليوم على الساعة] LT',
232 nextDay: '[غدا على الساعة] LT',
233 nextWeek: 'dddd [على الساعة] LT',
234 lastDay: '[أمس على الساعة] LT',
235 lastWeek: 'dddd [على الساعة] LT',
254 dow: 1, // Monday is the first day of the week.
255 doy: 4 // The week that contains Jan 4th is the first week of the year.
259 //! moment.js locale configuration
260 //! Locale: Arabic (ar)
261 //! Author: Abdel Said: https://github.com/abdelsaid
262 //! Changes in months, weekdays: Ahmed Elkhatib
263 //! Native plural forms: forabi https://github.com/forabi
265 var ar__symbolMap = {
287 }, pluralForm = function (n) {
288 return n === 0 ? 0 : n === 1 ? 1 : n === 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5;
290 s : ['أقل من ثانية', 'ثانية واحدة', ['ثانيتان', 'ثانيتين'], '%d ثوان', '%d ثانية', '%d ثانية'],
291 m : ['أقل من دقيقة', 'دقيقة واحدة', ['دقيقتان', 'دقيقتين'], '%d دقائق', '%d دقيقة', '%d دقيقة'],
292 h : ['أقل من ساعة', 'ساعة واحدة', ['ساعتان', 'ساعتين'], '%d ساعات', '%d ساعة', '%d ساعة'],
293 d : ['أقل من يوم', 'يوم واحد', ['يومان', 'يومين'], '%d أيام', '%d يومًا', '%d يوم'],
294 M : ['أقل من شهر', 'شهر واحد', ['شهران', 'شهرين'], '%d أشهر', '%d شهرا', '%d شهر'],
295 y : ['أقل من عام', 'عام واحد', ['عامان', 'عامين'], '%d أعوام', '%d عامًا', '%d عام']
296 }, pluralize = function (u) {
297 return function (number, withoutSuffix, string, isFuture) {
298 var f = pluralForm(number),
299 str = plurals[u][pluralForm(number)];
301 str = str[withoutSuffix ? 0 : 1];
303 return str.replace(/%d/i, number);
306 'كانون الثاني يناير',
315 'تشرين الأول أكتوبر',
316 'تشرين الثاني نوفمبر',
320 var ar = moment.defineLocale('ar', {
322 monthsShort : ar__months,
323 weekdays : 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
324 weekdaysShort : 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
325 weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'),
326 weekdaysParseExact : true,
330 L : 'D/\u200FM/\u200FYYYY',
332 LLL : 'D MMMM YYYY HH:mm',
333 LLLL : 'dddd D MMMM YYYY HH:mm'
335 meridiemParse: /ص|م/,
336 isPM : function (input) {
337 return 'م' === input;
339 meridiem : function (hour, minute, isLower) {
347 sameDay: '[اليوم عند الساعة] LT',
348 nextDay: '[غدًا عند الساعة] LT',
349 nextWeek: 'dddd [عند الساعة] LT',
350 lastDay: '[أمس عند الساعة] LT',
351 lastWeek: 'dddd [عند الساعة] LT',
369 preparse: function (string) {
370 return string.replace(/\u200f/g, '').replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
371 return ar__numberMap[match];
372 }).replace(/،/g, ',');
374 postformat: function (string) {
375 return string.replace(/\d/g, function (match) {
376 return ar__symbolMap[match];
377 }).replace(/,/g, '،');
380 dow : 6, // Saturday is the first day of the week.
381 doy : 12 // The week that contains Jan 1st is the first week of the year.
385 //! moment.js locale configuration
386 //! locale : azerbaijani (az)
387 //! author : topchiyev : https://github.com/topchiyev
410 var az = moment.defineLocale('az', {
411 months : 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split('_'),
412 monthsShort : 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'),
413 weekdays : 'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split('_'),
414 weekdaysShort : 'Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən'.split('_'),
415 weekdaysMin : 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'),
416 weekdaysParseExact : true,
422 LLL : 'D MMMM YYYY HH:mm',
423 LLLL : 'dddd, D MMMM YYYY HH:mm'
426 sameDay : '[bugün saat] LT',
427 nextDay : '[sabah saat] LT',
428 nextWeek : '[gələn həftə] dddd [saat] LT',
429 lastDay : '[dünən] LT',
430 lastWeek : '[keçən həftə] dddd [saat] LT',
436 s : 'birneçə saniyyə',
448 meridiemParse: /gecə|səhər|gündüz|axşam/,
449 isPM : function (input) {
450 return /^(gündüz|axşam)$/.test(input);
452 meridiem : function (hour, minute, isLower) {
455 } else if (hour < 12) {
457 } else if (hour < 17) {
463 ordinalParse: /\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,
464 ordinal : function (number) {
465 if (number === 0) { // special case for zero
466 return number + '-ıncı';
469 b = number % 100 - a,
470 c = number >= 100 ? 100 : null;
471 return number + (az__suffixes[a] || az__suffixes[b] || az__suffixes[c]);
474 dow : 1, // Monday is the first day of the week.
475 doy : 7 // The week that contains Jan 1st is the first week of the year.
479 //! moment.js locale configuration
480 //! locale : belarusian (be)
481 //! author : Dmitry Demidov : https://github.com/demidov91
482 //! author: Praleska: http://praleska.pro/
483 //! Author : Menelion Elensúle : https://github.com/Oire
485 function be__plural(word, num) {
486 var forms = word.split('_');
487 return num % 10 === 1 && num % 100 !== 11 ? forms[0] : (num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2]);
489 function be__relativeTimeWithPlural(number, withoutSuffix, key) {
491 'mm': withoutSuffix ? 'хвіліна_хвіліны_хвілін' : 'хвіліну_хвіліны_хвілін',
492 'hh': withoutSuffix ? 'гадзіна_гадзіны_гадзін' : 'гадзіну_гадзіны_гадзін',
493 'dd': 'дзень_дні_дзён',
494 'MM': 'месяц_месяцы_месяцаў',
495 'yy': 'год_гады_гадоў'
498 return withoutSuffix ? 'хвіліна' : 'хвіліну';
500 else if (key === 'h') {
501 return withoutSuffix ? 'гадзіна' : 'гадзіну';
504 return number + ' ' + be__plural(format[key], +number);
508 var be = moment.defineLocale('be', {
510 format: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split('_'),
511 standalone: 'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split('_')
513 monthsShort : 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split('_'),
515 format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split('_'),
516 standalone: 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split('_'),
517 isFormat: /\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/
519 weekdaysShort : 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
520 weekdaysMin : 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
525 LL : 'D MMMM YYYY г.',
526 LLL : 'D MMMM YYYY г., HH:mm',
527 LLLL : 'dddd, D MMMM YYYY г., HH:mm'
530 sameDay: '[Сёння ў] LT',
531 nextDay: '[Заўтра ў] LT',
532 lastDay: '[Учора ў] LT',
533 nextWeek: function () {
534 return '[У] dddd [ў] LT';
536 lastWeek: function () {
537 switch (this.day()) {
542 return '[У мінулую] dddd [ў] LT';
546 return '[У мінулы] dddd [ў] LT';
554 s : 'некалькі секунд',
555 m : be__relativeTimeWithPlural,
556 mm : be__relativeTimeWithPlural,
557 h : be__relativeTimeWithPlural,
558 hh : be__relativeTimeWithPlural,
560 dd : be__relativeTimeWithPlural,
562 MM : be__relativeTimeWithPlural,
564 yy : be__relativeTimeWithPlural
566 meridiemParse: /ночы|раніцы|дня|вечара/,
567 isPM : function (input) {
568 return /^(дня|вечара)$/.test(input);
570 meridiem : function (hour, minute, isLower) {
573 } else if (hour < 12) {
575 } else if (hour < 17) {
581 ordinalParse: /\d{1,2}-(і|ы|га)/,
582 ordinal: function (number, period) {
589 return (number % 10 === 2 || number % 10 === 3) && (number % 100 !== 12 && number % 100 !== 13) ? number + '-і' : number + '-ы';
591 return number + '-га';
597 dow : 1, // Monday is the first day of the week.
598 doy : 7 // The week that contains Jan 1st is the first week of the year.
602 //! moment.js locale configuration
603 //! locale : bulgarian (bg)
604 //! author : Krasen Borisov : https://github.com/kraz
606 var bg = moment.defineLocale('bg', {
607 months : 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split('_'),
608 monthsShort : 'янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split('_'),
609 weekdays : 'неделя_понеделник_вторник_сряда_четвъртък_петък_събота'.split('_'),
610 weekdaysShort : 'нед_пон_вто_сря_чет_пет_съб'.split('_'),
611 weekdaysMin : 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
617 LLL : 'D MMMM YYYY H:mm',
618 LLLL : 'dddd, D MMMM YYYY H:mm'
621 sameDay : '[Днес в] LT',
622 nextDay : '[Утре в] LT',
623 nextWeek : 'dddd [в] LT',
624 lastDay : '[Вчера в] LT',
625 lastWeek : function () {
626 switch (this.day()) {
630 return '[В изминалата] dddd [в] LT';
635 return '[В изминалия] dddd [в] LT';
643 s : 'няколко секунди',
655 ordinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
656 ordinal : function (number) {
657 var lastDigit = number % 10,
658 last2Digits = number % 100;
660 return number + '-ев';
661 } else if (last2Digits === 0) {
662 return number + '-ен';
663 } else if (last2Digits > 10 && last2Digits < 20) {
664 return number + '-ти';
665 } else if (lastDigit === 1) {
666 return number + '-ви';
667 } else if (lastDigit === 2) {
668 return number + '-ри';
669 } else if (lastDigit === 7 || lastDigit === 8) {
670 return number + '-ми';
672 return number + '-ти';
676 dow : 1, // Monday is the first day of the week.
677 doy : 7 // The week that contains Jan 1st is the first week of the year.
681 //! moment.js locale configuration
682 //! locale : Bengali (bn)
683 //! author : Kaushik Gandhi : https://github.com/kaushikgandhi
685 var bn__symbolMap = {
710 var bn = moment.defineLocale('bn', {
711 months : 'জানুয়ারী_ফেবুয়ারী_মার্চ_এপ্রিল_মে_জুন_জুলাই_অগাস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split('_'),
712 monthsShort : 'জানু_ফেব_মার্চ_এপর_মে_জুন_জুল_অগ_সেপ্ট_অক্টো_নভ_ডিসেম্'.split('_'),
713 weekdays : 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পত্তিবার_শুক্রবার_শনিবার'.split('_'),
714 weekdaysShort : 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পত্তি_শুক্র_শনি'.split('_'),
715 weekdaysMin : 'রব_সম_মঙ্গ_বু_ব্রিহ_শু_শনি'.split('_'),
718 LTS : 'A h:mm:ss সময়',
721 LLL : 'D MMMM YYYY, A h:mm সময়',
722 LLLL : 'dddd, D MMMM YYYY, A h:mm সময়'
726 nextDay : '[আগামীকাল] LT',
727 nextWeek : 'dddd, LT',
728 lastDay : '[গতকাল] LT',
729 lastWeek : '[গত] dddd, LT',
747 preparse: function (string) {
748 return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) {
749 return bn__numberMap[match];
752 postformat: function (string) {
753 return string.replace(/\d/g, function (match) {
754 return bn__symbolMap[match];
757 meridiemParse: /রাত|সকাল|দুপুর|বিকাল|রাত/,
758 meridiemHour : function (hour, meridiem) {
762 if ((meridiem === 'রাত' && hour >= 4) ||
763 (meridiem === 'দুপুর' && hour < 5) ||
764 meridiem === 'বিকাল') {
770 meridiem : function (hour, minute, isLower) {
773 } else if (hour < 10) {
775 } else if (hour < 17) {
777 } else if (hour < 20) {
784 dow : 0, // Sunday is the first day of the week.
785 doy : 6 // The week that contains Jan 1st is the first week of the year.
789 //! moment.js locale configuration
790 //! locale : tibetan (bo)
791 //! author : Thupten N. Chakrishar : https://github.com/vajradog
793 var bo__symbolMap = {
818 var bo = moment.defineLocale('bo', {
819 months : 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split('_'),
820 monthsShort : 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split('_'),
821 weekdays : 'གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་'.split('_'),
822 weekdaysShort : 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split('_'),
823 weekdaysMin : 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split('_'),
829 LLL : 'D MMMM YYYY, A h:mm',
830 LLLL : 'dddd, D MMMM YYYY, A h:mm'
833 sameDay : '[དི་རིང] LT',
834 nextDay : '[སང་ཉིན] LT',
835 nextWeek : '[བདུན་ཕྲག་རྗེས་མ], LT',
836 lastDay : '[ཁ་སང] LT',
837 lastWeek : '[བདུན་ཕྲག་མཐའ་མ] dddd, LT',
855 preparse: function (string) {
856 return string.replace(/[༡༢༣༤༥༦༧༨༩༠]/g, function (match) {
857 return bo__numberMap[match];
860 postformat: function (string) {
861 return string.replace(/\d/g, function (match) {
862 return bo__symbolMap[match];
865 meridiemParse: /མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,
866 meridiemHour : function (hour, meridiem) {
870 if ((meridiem === 'མཚན་མོ' && hour >= 4) ||
871 (meridiem === 'ཉིན་གུང' && hour < 5) ||
872 meridiem === 'དགོང་དག') {
878 meridiem : function (hour, minute, isLower) {
881 } else if (hour < 10) {
883 } else if (hour < 17) {
885 } else if (hour < 20) {
892 dow : 0, // Sunday is the first day of the week.
893 doy : 6 // The week that contains Jan 1st is the first week of the year.
897 //! moment.js locale configuration
898 //! locale : breton (br)
899 //! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou
901 function relativeTimeWithMutation(number, withoutSuffix, key) {
907 return number + ' ' + mutation(format[key], number);
909 function specialMutationForYears(number) {
910 switch (lastNumber(number)) {
916 return number + ' bloaz';
918 return number + ' vloaz';
921 function lastNumber(number) {
923 return lastNumber(number % 10);
927 function mutation(text, number) {
929 return softMutation(text);
933 function softMutation(text) {
934 var mutationTable = {
939 if (mutationTable[text.charAt(0)] === undefined) {
942 return mutationTable[text.charAt(0)] + text.substring(1);
945 var br = moment.defineLocale('br', {
946 months : 'Genver_C\'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu'.split('_'),
947 monthsShort : 'Gen_C\'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker'.split('_'),
948 weekdays : 'Sul_Lun_Meurzh_Merc\'her_Yaou_Gwener_Sadorn'.split('_'),
949 weekdaysShort : 'Sul_Lun_Meu_Mer_Yao_Gwe_Sad'.split('_'),
950 weekdaysMin : 'Su_Lu_Me_Mer_Ya_Gw_Sa'.split('_'),
951 weekdaysParseExact : true,
956 LL : 'D [a viz] MMMM YYYY',
957 LLL : 'D [a viz] MMMM YYYY h[e]mm A',
958 LLLL : 'dddd, D [a viz] MMMM YYYY h[e]mm A'
961 sameDay : '[Hiziv da] LT',
962 nextDay : '[Warc\'hoazh da] LT',
963 nextWeek : 'dddd [da] LT',
964 lastDay : '[Dec\'h da] LT',
965 lastWeek : 'dddd [paset da] LT',
969 future : 'a-benn %s',
971 s : 'un nebeud segondennoù',
973 mm : relativeTimeWithMutation,
977 dd : relativeTimeWithMutation,
979 MM : relativeTimeWithMutation,
981 yy : specialMutationForYears
983 ordinalParse: /\d{1,2}(añ|vet)/,
984 ordinal : function (number) {
985 var output = (number === 1) ? 'añ' : 'vet';
986 return number + output;
989 dow : 1, // Monday is the first day of the week.
990 doy : 4 // The week that contains Jan 4th is the first week of the year.
994 //! moment.js locale configuration
995 //! locale : bosnian (bs)
996 //! author : Nedim Cholich : https://github.com/frontyard
997 //! based on (hr) translation by Bojan Marković
999 function bs__translate(number, withoutSuffix, key) {
1000 var result = number + ' ';
1003 return withoutSuffix ? 'jedna minuta' : 'jedne minute';
1007 } else if (number === 2 || number === 3 || number === 4) {
1014 return withoutSuffix ? 'jedan sat' : 'jednog sata';
1018 } else if (number === 2 || number === 3 || number === 4) {
1034 } else if (number === 2 || number === 3 || number === 4) {
1035 result += 'mjeseca';
1037 result += 'mjeseci';
1043 } else if (number === 2 || number === 3 || number === 4) {
1052 var bs = moment.defineLocale('bs', {
1053 months : 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split('_'),
1054 monthsShort : 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split('_'),
1055 monthsParseExact: true,
1056 weekdays : 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'),
1057 weekdaysShort : 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
1058 weekdaysMin : 'ne_po_ut_sr_če_pe_su'.split('_'),
1059 weekdaysParseExact : true,
1064 LL : 'D. MMMM YYYY',
1065 LLL : 'D. MMMM YYYY H:mm',
1066 LLLL : 'dddd, D. MMMM YYYY H:mm'
1069 sameDay : '[danas u] LT',
1070 nextDay : '[sutra u] LT',
1071 nextWeek : function () {
1072 switch (this.day()) {
1074 return '[u] [nedjelju] [u] LT';
1076 return '[u] [srijedu] [u] LT';
1078 return '[u] [subotu] [u] LT';
1083 return '[u] dddd [u] LT';
1086 lastDay : '[jučer u] LT',
1087 lastWeek : function () {
1088 switch (this.day()) {
1091 return '[prošlu] dddd [u] LT';
1093 return '[prošle] [subote] [u] LT';
1098 return '[prošli] dddd [u] LT';
1118 ordinalParse: /\d{1,2}\./,
1121 dow : 1, // Monday is the first day of the week.
1122 doy : 7 // The week that contains Jan 1st is the first week of the year.
1126 //! moment.js locale configuration
1127 //! locale : catalan (ca)
1128 //! author : Juan G. Hurtado : https://github.com/juanghurtado
1130 var ca = moment.defineLocale('ca', {
1131 months : 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split('_'),
1132 monthsShort : 'gen._febr._mar._abr._mai._jun._jul._ag._set._oct._nov._des.'.split('_'),
1133 monthsParseExact : true,
1134 weekdays : 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split('_'),
1135 weekdaysShort : 'dg._dl._dt._dc._dj._dv._ds.'.split('_'),
1136 weekdaysMin : 'Dg_Dl_Dt_Dc_Dj_Dv_Ds'.split('_'),
1137 weekdaysParseExact : true,
1143 LLL : 'D MMMM YYYY H:mm',
1144 LLLL : 'dddd D MMMM YYYY H:mm'
1147 sameDay : function () {
1148 return '[avui a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
1150 nextDay : function () {
1151 return '[demà a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
1153 nextWeek : function () {
1154 return 'dddd [a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
1156 lastDay : function () {
1157 return '[ahir a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
1159 lastWeek : function () {
1160 return '[el] dddd [passat a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
1179 ordinalParse: /\d{1,2}(r|n|t|è|a)/,
1180 ordinal : function (number, period) {
1181 var output = (number === 1) ? 'r' :
1182 (number === 2) ? 'n' :
1183 (number === 3) ? 'r' :
1184 (number === 4) ? 't' : 'è';
1185 if (period === 'w' || period === 'W') {
1188 return number + output;
1191 dow : 1, // Monday is the first day of the week.
1192 doy : 4 // The week that contains Jan 4th is the first week of the year.
1196 //! moment.js locale configuration
1197 //! locale : czech (cs)
1198 //! author : petrbela : https://github.com/petrbela
1200 var cs__months = 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split('_'),
1201 cs__monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_');
1202 function cs__plural(n) {
1203 return (n > 1) && (n < 5) && (~~(n / 10) !== 1);
1205 function cs__translate(number, withoutSuffix, key, isFuture) {
1206 var result = number + ' ';
1208 case 's': // a few seconds / in a few seconds / a few seconds ago
1209 return (withoutSuffix || isFuture) ? 'pár sekund' : 'pár sekundami';
1210 case 'm': // a minute / in a minute / a minute ago
1211 return withoutSuffix ? 'minuta' : (isFuture ? 'minutu' : 'minutou');
1212 case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago
1213 if (withoutSuffix || isFuture) {
1214 return result + (cs__plural(number) ? 'minuty' : 'minut');
1216 return result + 'minutami';
1219 case 'h': // an hour / in an hour / an hour ago
1220 return withoutSuffix ? 'hodina' : (isFuture ? 'hodinu' : 'hodinou');
1221 case 'hh': // 9 hours / in 9 hours / 9 hours ago
1222 if (withoutSuffix || isFuture) {
1223 return result + (cs__plural(number) ? 'hodiny' : 'hodin');
1225 return result + 'hodinami';
1228 case 'd': // a day / in a day / a day ago
1229 return (withoutSuffix || isFuture) ? 'den' : 'dnem';
1230 case 'dd': // 9 days / in 9 days / 9 days ago
1231 if (withoutSuffix || isFuture) {
1232 return result + (cs__plural(number) ? 'dny' : 'dní');
1234 return result + 'dny';
1237 case 'M': // a month / in a month / a month ago
1238 return (withoutSuffix || isFuture) ? 'měsíc' : 'měsícem';
1239 case 'MM': // 9 months / in 9 months / 9 months ago
1240 if (withoutSuffix || isFuture) {
1241 return result + (cs__plural(number) ? 'měsíce' : 'měsíců');
1243 return result + 'měsíci';
1246 case 'y': // a year / in a year / a year ago
1247 return (withoutSuffix || isFuture) ? 'rok' : 'rokem';
1248 case 'yy': // 9 years / in 9 years / 9 years ago
1249 if (withoutSuffix || isFuture) {
1250 return result + (cs__plural(number) ? 'roky' : 'let');
1252 return result + 'lety';
1258 var cs = moment.defineLocale('cs', {
1259 months : cs__months,
1260 monthsShort : cs__monthsShort,
1261 monthsParse : (function (months, monthsShort) {
1262 var i, _monthsParse = [];
1263 for (i = 0; i < 12; i++) {
1264 // use custom parser to solve problem with July (červenec)
1265 _monthsParse[i] = new RegExp('^' + months[i] + '$|^' + monthsShort[i] + '$', 'i');
1267 return _monthsParse;
1268 }(cs__months, cs__monthsShort)),
1269 shortMonthsParse : (function (monthsShort) {
1270 var i, _shortMonthsParse = [];
1271 for (i = 0; i < 12; i++) {
1272 _shortMonthsParse[i] = new RegExp('^' + monthsShort[i] + '$', 'i');
1274 return _shortMonthsParse;
1275 }(cs__monthsShort)),
1276 longMonthsParse : (function (months) {
1277 var i, _longMonthsParse = [];
1278 for (i = 0; i < 12; i++) {
1279 _longMonthsParse[i] = new RegExp('^' + months[i] + '$', 'i');
1281 return _longMonthsParse;
1283 weekdays : 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'),
1284 weekdaysShort : 'ne_po_út_st_čt_pá_so'.split('_'),
1285 weekdaysMin : 'ne_po_út_st_čt_pá_so'.split('_'),
1290 LL : 'D. MMMM YYYY',
1291 LLL : 'D. MMMM YYYY H:mm',
1292 LLLL : 'dddd D. MMMM YYYY H:mm'
1295 sameDay: '[dnes v] LT',
1296 nextDay: '[zítra v] LT',
1297 nextWeek: function () {
1298 switch (this.day()) {
1300 return '[v neděli v] LT';
1303 return '[v] dddd [v] LT';
1305 return '[ve středu v] LT';
1307 return '[ve čtvrtek v] LT';
1309 return '[v pátek v] LT';
1311 return '[v sobotu v] LT';
1314 lastDay: '[včera v] LT',
1315 lastWeek: function () {
1316 switch (this.day()) {
1318 return '[minulou neděli v] LT';
1321 return '[minulé] dddd [v] LT';
1323 return '[minulou středu v] LT';
1326 return '[minulý] dddd [v] LT';
1328 return '[minulou sobotu v] LT';
1348 ordinalParse : /\d{1,2}\./,
1351 dow : 1, // Monday is the first day of the week.
1352 doy : 4 // The week that contains Jan 4th is the first week of the year.
1356 //! moment.js locale configuration
1357 //! locale : chuvash (cv)
1358 //! author : Anatoly Mironov : https://github.com/mirontoli
1360 var cv = moment.defineLocale('cv', {
1361 months : 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split('_'),
1362 monthsShort : 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'),
1363 weekdays : 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split('_'),
1364 weekdaysShort : 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'),
1365 weekdaysMin : 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'),
1370 LL : 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]',
1371 LLL : 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',
1372 LLLL : 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm'
1375 sameDay: '[Паян] LT [сехетре]',
1376 nextDay: '[Ыран] LT [сехетре]',
1377 lastDay: '[Ӗнер] LT [сехетре]',
1378 nextWeek: '[Ҫитес] dddd LT [сехетре]',
1379 lastWeek: '[Иртнӗ] dddd LT [сехетре]',
1383 future : function (output) {
1384 var affix = /сехет$/i.exec(output) ? 'рен' : /ҫул$/i.exec(output) ? 'тан' : 'ран';
1385 return output + affix;
1388 s : 'пӗр-ик ҫеккунт',
1400 ordinalParse: /\d{1,2}-мӗш/,
1403 dow : 1, // Monday is the first day of the week.
1404 doy : 7 // The week that contains Jan 1st is the first week of the year.
1408 //! moment.js locale configuration
1409 //! locale : Welsh (cy)
1410 //! author : Robert Allen
1412 var cy = moment.defineLocale('cy', {
1413 months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split('_'),
1414 monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split('_'),
1415 weekdays: 'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split('_'),
1416 weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'),
1417 weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'),
1418 weekdaysParseExact : true,
1419 // time formats are the same as en-gb
1425 LLL: 'D MMMM YYYY HH:mm',
1426 LLLL: 'dddd, D MMMM YYYY HH:mm'
1429 sameDay: '[Heddiw am] LT',
1430 nextDay: '[Yfory am] LT',
1431 nextWeek: 'dddd [am] LT',
1432 lastDay: '[Ddoe am] LT',
1433 lastWeek: 'dddd [diwethaf am] LT',
1439 s: 'ychydig eiliadau',
1451 ordinalParse: /\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,
1452 // traditional ordinal numbers above 31 are not commonly used in colloquial Welsh
1453 ordinal: function (number) {
1457 '', 'af', 'il', 'ydd', 'ydd', 'ed', 'ed', 'ed', 'fed', 'fed', 'fed', // 1af to 10fed
1458 'eg', 'fed', 'eg', 'eg', 'fed', 'eg', 'eg', 'fed', 'eg', 'fed' // 11eg to 20fed
1461 if (b === 40 || b === 50 || b === 60 || b === 80 || b === 100) {
1462 output = 'fed'; // not 30ain, 70ain or 90ain
1469 return number + output;
1472 dow : 1, // Monday is the first day of the week.
1473 doy : 4 // The week that contains Jan 4th is the first week of the year.
1477 //! moment.js locale configuration
1478 //! locale : danish (da)
1479 //! author : Ulrik Nielsen : https://github.com/mrbase
1481 var da = moment.defineLocale('da', {
1482 months : 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split('_'),
1483 monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
1484 weekdays : 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
1485 weekdaysShort : 'søn_man_tir_ons_tor_fre_lør'.split('_'),
1486 weekdaysMin : 'sø_ma_ti_on_to_fr_lø'.split('_'),
1491 LL : 'D. MMMM YYYY',
1492 LLL : 'D. MMMM YYYY HH:mm',
1493 LLLL : 'dddd [d.] D. MMMM YYYY HH:mm'
1496 sameDay : '[I dag kl.] LT',
1497 nextDay : '[I morgen kl.] LT',
1498 nextWeek : 'dddd [kl.] LT',
1499 lastDay : '[I går kl.] LT',
1500 lastWeek : '[sidste] dddd [kl] LT',
1518 ordinalParse: /\d{1,2}\./,
1521 dow : 1, // Monday is the first day of the week.
1522 doy : 4 // The week that contains Jan 4th is the first week of the year.
1526 //! moment.js locale configuration
1527 //! locale : austrian german (de-at)
1528 //! author : lluchs : https://github.com/lluchs
1529 //! author: Menelion Elensúle: https://github.com/Oire
1530 //! author : Martin Groller : https://github.com/MadMG
1531 //! author : Mikolaj Dadela : https://github.com/mik01aj
1533 function de_at__processRelativeTime(number, withoutSuffix, key, isFuture) {
1535 'm': ['eine Minute', 'einer Minute'],
1536 'h': ['eine Stunde', 'einer Stunde'],
1537 'd': ['ein Tag', 'einem Tag'],
1538 'dd': [number + ' Tage', number + ' Tagen'],
1539 'M': ['ein Monat', 'einem Monat'],
1540 'MM': [number + ' Monate', number + ' Monaten'],
1541 'y': ['ein Jahr', 'einem Jahr'],
1542 'yy': [number + ' Jahre', number + ' Jahren']
1544 return withoutSuffix ? format[key][0] : format[key][1];
1547 var de_at = moment.defineLocale('de-at', {
1548 months : 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),
1549 monthsShort : 'Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'),
1550 monthsParseExact : true,
1551 weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'),
1552 weekdaysShort : 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
1553 weekdaysMin : 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
1554 weekdaysParseExact : true,
1559 LL : 'D. MMMM YYYY',
1560 LLL : 'D. MMMM YYYY HH:mm',
1561 LLLL : 'dddd, D. MMMM YYYY HH:mm'
1564 sameDay: '[heute um] LT [Uhr]',
1566 nextDay: '[morgen um] LT [Uhr]',
1567 nextWeek: 'dddd [um] LT [Uhr]',
1568 lastDay: '[gestern um] LT [Uhr]',
1569 lastWeek: '[letzten] dddd [um] LT [Uhr]'
1574 s : 'ein paar Sekunden',
1575 m : de_at__processRelativeTime,
1577 h : de_at__processRelativeTime,
1579 d : de_at__processRelativeTime,
1580 dd : de_at__processRelativeTime,
1581 M : de_at__processRelativeTime,
1582 MM : de_at__processRelativeTime,
1583 y : de_at__processRelativeTime,
1584 yy : de_at__processRelativeTime
1586 ordinalParse: /\d{1,2}\./,
1589 dow : 1, // Monday is the first day of the week.
1590 doy : 4 // The week that contains Jan 4th is the first week of the year.
1594 //! moment.js locale configuration
1595 //! locale : german (de)
1596 //! author : lluchs : https://github.com/lluchs
1597 //! author: Menelion Elensúle: https://github.com/Oire
1598 //! author : Mikolaj Dadela : https://github.com/mik01aj
1600 function de__processRelativeTime(number, withoutSuffix, key, isFuture) {
1602 'm': ['eine Minute', 'einer Minute'],
1603 'h': ['eine Stunde', 'einer Stunde'],
1604 'd': ['ein Tag', 'einem Tag'],
1605 'dd': [number + ' Tage', number + ' Tagen'],
1606 'M': ['ein Monat', 'einem Monat'],
1607 'MM': [number + ' Monate', number + ' Monaten'],
1608 'y': ['ein Jahr', 'einem Jahr'],
1609 'yy': [number + ' Jahre', number + ' Jahren']
1611 return withoutSuffix ? format[key][0] : format[key][1];
1614 var de = moment.defineLocale('de', {
1615 months : 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),
1616 monthsShort : 'Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'),
1617 monthsParseExact : true,
1618 weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'),
1619 weekdaysShort : 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
1620 weekdaysMin : 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
1621 weekdaysParseExact : true,
1626 LL : 'D. MMMM YYYY',
1627 LLL : 'D. MMMM YYYY HH:mm',
1628 LLLL : 'dddd, D. MMMM YYYY HH:mm'
1631 sameDay: '[heute um] LT [Uhr]',
1633 nextDay: '[morgen um] LT [Uhr]',
1634 nextWeek: 'dddd [um] LT [Uhr]',
1635 lastDay: '[gestern um] LT [Uhr]',
1636 lastWeek: '[letzten] dddd [um] LT [Uhr]'
1641 s : 'ein paar Sekunden',
1642 m : de__processRelativeTime,
1644 h : de__processRelativeTime,
1646 d : de__processRelativeTime,
1647 dd : de__processRelativeTime,
1648 M : de__processRelativeTime,
1649 MM : de__processRelativeTime,
1650 y : de__processRelativeTime,
1651 yy : de__processRelativeTime
1653 ordinalParse: /\d{1,2}\./,
1656 dow : 1, // Monday is the first day of the week.
1657 doy : 4 // The week that contains Jan 4th is the first week of the year.
1661 //! moment.js locale configuration
1662 //! locale : dhivehi (dv)
1663 //! author : Jawish Hameed : https://github.com/jawish
1688 var dv = moment.defineLocale('dv', {
1689 months : dv__months,
1690 monthsShort : dv__months,
1691 weekdays : dv__weekdays,
1692 weekdaysShort : dv__weekdays,
1693 weekdaysMin : 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'),
1700 LLL : 'D MMMM YYYY HH:mm',
1701 LLLL : 'dddd D MMMM YYYY HH:mm'
1703 meridiemParse: /މކ|މފ/,
1704 isPM : function (input) {
1705 return 'މފ' === input;
1707 meridiem : function (hour, minute, isLower) {
1715 sameDay : '[މިއަދު] LT',
1716 nextDay : '[މާދަމާ] LT',
1717 nextWeek : 'dddd LT',
1718 lastDay : '[އިއްޔެ] LT',
1719 lastWeek : '[ފާއިތުވި] dddd LT',
1723 future : 'ތެރޭގައި %s',
1725 s : 'ސިކުންތުކޮޅެއް',
1737 preparse: function (string) {
1738 return string.replace(/،/g, ',');
1740 postformat: function (string) {
1741 return string.replace(/,/g, '،');
1744 dow : 7, // Sunday is the first day of the week.
1745 doy : 12 // The week that contains Jan 1st is the first week of the year.
1749 function isFunction(input) {
1750 return input instanceof Function || Object.prototype.toString.call(input) === '[object Function]';
1753 //! moment.js locale configuration
1754 //! locale : modern greek (el)
1755 //! author : Aggelos Karalias : https://github.com/mehiel
1757 var el = moment.defineLocale('el', {
1758 monthsNominativeEl : 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split('_'),
1759 monthsGenitiveEl : 'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split('_'),
1760 months : function (momentToFormat, format) {
1761 if (/D/.test(format.substring(0, format.indexOf('MMMM')))) { // if there is a day number before 'MMMM'
1762 return this._monthsGenitiveEl[momentToFormat.month()];
1764 return this._monthsNominativeEl[momentToFormat.month()];
1767 monthsShort : 'Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ'.split('_'),
1768 weekdays : 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split('_'),
1769 weekdaysShort : 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'),
1770 weekdaysMin : 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'),
1771 meridiem : function (hours, minutes, isLower) {
1773 return isLower ? 'μμ' : 'ΜΜ';
1775 return isLower ? 'πμ' : 'ΠΜ';
1778 isPM : function (input) {
1779 return ((input + '').toLowerCase()[0] === 'μ');
1781 meridiemParse : /[ΠΜ]\.?Μ?\.?/i,
1787 LLL : 'D MMMM YYYY h:mm A',
1788 LLLL : 'dddd, D MMMM YYYY h:mm A'
1791 sameDay : '[Σήμερα {}] LT',
1792 nextDay : '[Αύριο {}] LT',
1793 nextWeek : 'dddd [{}] LT',
1794 lastDay : '[Χθες {}] LT',
1795 lastWeek : function () {
1796 switch (this.day()) {
1798 return '[το προηγούμενο] dddd [{}] LT';
1800 return '[την προηγούμενη] dddd [{}] LT';
1805 calendar : function (key, mom) {
1806 var output = this._calendarEl[key],
1807 hours = mom && mom.hours();
1808 if (isFunction(output)) {
1809 output = output.apply(mom);
1811 return output.replace('{}', (hours % 12 === 1 ? 'στη' : 'στις'));
1816 s : 'λίγα δευτερόλεπτα',
1828 ordinalParse: /\d{1,2}η/,
1831 dow : 1, // Monday is the first day of the week.
1832 doy : 4 // The week that contains Jan 4st is the first week of the year.
1836 //! moment.js locale configuration
1837 //! locale : australian english (en-au)
1839 var en_au = moment.defineLocale('en-au', {
1840 months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
1841 monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
1842 weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
1843 weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
1844 weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
1850 LLL : 'D MMMM YYYY h:mm A',
1851 LLLL : 'dddd, D MMMM YYYY h:mm A'
1854 sameDay : '[Today at] LT',
1855 nextDay : '[Tomorrow at] LT',
1856 nextWeek : 'dddd [at] LT',
1857 lastDay : '[Yesterday at] LT',
1858 lastWeek : '[Last] dddd [at] LT',
1864 s : 'a few seconds',
1876 ordinalParse: /\d{1,2}(st|nd|rd|th)/,
1877 ordinal : function (number) {
1878 var b = number % 10,
1879 output = (~~(number % 100 / 10) === 1) ? 'th' :
1882 (b === 3) ? 'rd' : 'th';
1883 return number + output;
1886 dow : 1, // Monday is the first day of the week.
1887 doy : 4 // The week that contains Jan 4th is the first week of the year.
1891 //! moment.js locale configuration
1892 //! locale : canadian english (en-ca)
1893 //! author : Jonathan Abourbih : https://github.com/jonbca
1895 var en_ca = moment.defineLocale('en-ca', {
1896 months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
1897 monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
1898 weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
1899 weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
1900 weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
1905 LL : 'MMMM D, YYYY',
1906 LLL : 'MMMM D, YYYY h:mm A',
1907 LLLL : 'dddd, MMMM D, YYYY h:mm A'
1910 sameDay : '[Today at] LT',
1911 nextDay : '[Tomorrow at] LT',
1912 nextWeek : 'dddd [at] LT',
1913 lastDay : '[Yesterday at] LT',
1914 lastWeek : '[Last] dddd [at] LT',
1920 s : 'a few seconds',
1932 ordinalParse: /\d{1,2}(st|nd|rd|th)/,
1933 ordinal : function (number) {
1934 var b = number % 10,
1935 output = (~~(number % 100 / 10) === 1) ? 'th' :
1938 (b === 3) ? 'rd' : 'th';
1939 return number + output;
1943 //! moment.js locale configuration
1944 //! locale : great britain english (en-gb)
1945 //! author : Chris Gedrim : https://github.com/chrisgedrim
1947 var en_gb = moment.defineLocale('en-gb', {
1948 months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
1949 monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
1950 weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
1951 weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
1952 weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
1958 LLL : 'D MMMM YYYY HH:mm',
1959 LLLL : 'dddd, D MMMM YYYY HH:mm'
1962 sameDay : '[Today at] LT',
1963 nextDay : '[Tomorrow at] LT',
1964 nextWeek : 'dddd [at] LT',
1965 lastDay : '[Yesterday at] LT',
1966 lastWeek : '[Last] dddd [at] LT',
1972 s : 'a few seconds',
1984 ordinalParse: /\d{1,2}(st|nd|rd|th)/,
1985 ordinal : function (number) {
1986 var b = number % 10,
1987 output = (~~(number % 100 / 10) === 1) ? 'th' :
1990 (b === 3) ? 'rd' : 'th';
1991 return number + output;
1994 dow : 1, // Monday is the first day of the week.
1995 doy : 4 // The week that contains Jan 4th is the first week of the year.
1999 //! moment.js locale configuration
2000 //! locale : Irish english (en-ie)
2001 //! author : Chris Cartlidge : https://github.com/chriscartlidge
2003 var en_ie = moment.defineLocale('en-ie', {
2004 months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
2005 monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
2006 weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
2007 weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
2008 weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
2014 LLL : 'D MMMM YYYY HH:mm',
2015 LLLL : 'dddd D MMMM YYYY HH:mm'
2018 sameDay : '[Today at] LT',
2019 nextDay : '[Tomorrow at] LT',
2020 nextWeek : 'dddd [at] LT',
2021 lastDay : '[Yesterday at] LT',
2022 lastWeek : '[Last] dddd [at] LT',
2028 s : 'a few seconds',
2040 ordinalParse: /\d{1,2}(st|nd|rd|th)/,
2041 ordinal : function (number) {
2042 var b = number % 10,
2043 output = (~~(number % 100 / 10) === 1) ? 'th' :
2046 (b === 3) ? 'rd' : 'th';
2047 return number + output;
2050 dow : 1, // Monday is the first day of the week.
2051 doy : 4 // The week that contains Jan 4th is the first week of the year.
2055 //! moment.js locale configuration
2056 //! locale : New Zealand english (en-nz)
2058 var en_nz = moment.defineLocale('en-nz', {
2059 months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
2060 monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
2061 weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
2062 weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
2063 weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
2069 LLL : 'D MMMM YYYY h:mm A',
2070 LLLL : 'dddd, D MMMM YYYY h:mm A'
2073 sameDay : '[Today at] LT',
2074 nextDay : '[Tomorrow at] LT',
2075 nextWeek : 'dddd [at] LT',
2076 lastDay : '[Yesterday at] LT',
2077 lastWeek : '[Last] dddd [at] LT',
2083 s : 'a few seconds',
2095 ordinalParse: /\d{1,2}(st|nd|rd|th)/,
2096 ordinal : function (number) {
2097 var b = number % 10,
2098 output = (~~(number % 100 / 10) === 1) ? 'th' :
2101 (b === 3) ? 'rd' : 'th';
2102 return number + output;
2105 dow : 1, // Monday is the first day of the week.
2106 doy : 4 // The week that contains Jan 4th is the first week of the year.
2110 //! moment.js locale configuration
2111 //! locale : esperanto (eo)
2112 //! author : Colin Dean : https://github.com/colindean
2113 //! komento: Mi estas malcerta se mi korekte traktis akuzativojn en tiu traduko.
2114 //! Se ne, bonvolu korekti kaj avizi min por ke mi povas lerni!
2116 var eo = moment.defineLocale('eo', {
2117 months : 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split('_'),
2118 monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec'.split('_'),
2119 weekdays : 'Dimanĉo_Lundo_Mardo_Merkredo_Ĵaŭdo_Vendredo_Sabato'.split('_'),
2120 weekdaysShort : 'Dim_Lun_Mard_Merk_Ĵaŭ_Ven_Sab'.split('_'),
2121 weekdaysMin : 'Di_Lu_Ma_Me_Ĵa_Ve_Sa'.split('_'),
2126 LL : 'D[-an de] MMMM, YYYY',
2127 LLL : 'D[-an de] MMMM, YYYY HH:mm',
2128 LLLL : 'dddd, [la] D[-an de] MMMM, YYYY HH:mm'
2130 meridiemParse: /[ap]\.t\.m/i,
2131 isPM: function (input) {
2132 return input.charAt(0).toLowerCase() === 'p';
2134 meridiem : function (hours, minutes, isLower) {
2136 return isLower ? 'p.t.m.' : 'P.T.M.';
2138 return isLower ? 'a.t.m.' : 'A.T.M.';
2142 sameDay : '[Hodiaŭ je] LT',
2143 nextDay : '[Morgaŭ je] LT',
2144 nextWeek : 'dddd [je] LT',
2145 lastDay : '[Hieraŭ je] LT',
2146 lastWeek : '[pasinta] dddd [je] LT',
2157 d : 'tago',//ne 'diurno', ĉar estas uzita por proksimumo
2164 ordinalParse: /\d{1,2}a/,
2167 dow : 1, // Monday is the first day of the week.
2168 doy : 7 // The week that contains Jan 1st is the first week of the year.
2172 //! moment.js locale configuration
2173 //! locale : spanish (es)
2174 //! author : Julio Napurí : https://github.com/julionc
2176 var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'),
2177 es__monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_');
2179 var es = moment.defineLocale('es', {
2180 months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),
2181 monthsShort : function (m, format) {
2182 if (/-MMM-/.test(format)) {
2183 return es__monthsShort[m.month()];
2185 return monthsShortDot[m.month()];
2188 monthsParseExact : true,
2189 weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
2190 weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
2191 weekdaysMin : 'do_lu_ma_mi_ju_vi_sá'.split('_'),
2192 weekdaysParseExact : true,
2197 LL : 'D [de] MMMM [de] YYYY',
2198 LLL : 'D [de] MMMM [de] YYYY H:mm',
2199 LLLL : 'dddd, D [de] MMMM [de] YYYY H:mm'
2202 sameDay : function () {
2203 return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
2205 nextDay : function () {
2206 return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
2208 nextWeek : function () {
2209 return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
2211 lastDay : function () {
2212 return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
2214 lastWeek : function () {
2215 return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
2222 s : 'unos segundos',
2234 ordinalParse : /\d{1,2}º/,
2237 dow : 1, // Monday is the first day of the week.
2238 doy : 4 // The week that contains Jan 4th is the first week of the year.
2242 //! moment.js locale configuration
2243 //! locale : estonian (et)
2244 //! author : Henry Kehlmann : https://github.com/madhenry
2245 //! improvements : Illimar Tambek : https://github.com/ragulka
2247 function et__processRelativeTime(number, withoutSuffix, key, isFuture) {
2249 's' : ['mõne sekundi', 'mõni sekund', 'paar sekundit'],
2250 'm' : ['ühe minuti', 'üks minut'],
2251 'mm': [number + ' minuti', number + ' minutit'],
2252 'h' : ['ühe tunni', 'tund aega', 'üks tund'],
2253 'hh': [number + ' tunni', number + ' tundi'],
2254 'd' : ['ühe päeva', 'üks päev'],
2255 'M' : ['kuu aja', 'kuu aega', 'üks kuu'],
2256 'MM': [number + ' kuu', number + ' kuud'],
2257 'y' : ['ühe aasta', 'aasta', 'üks aasta'],
2258 'yy': [number + ' aasta', number + ' aastat']
2260 if (withoutSuffix) {
2261 return format[key][2] ? format[key][2] : format[key][1];
2263 return isFuture ? format[key][0] : format[key][1];
2266 var et = moment.defineLocale('et', {
2267 months : 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split('_'),
2268 monthsShort : 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split('_'),
2269 weekdays : 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split('_'),
2270 weekdaysShort : 'P_E_T_K_N_R_L'.split('_'),
2271 weekdaysMin : 'P_E_T_K_N_R_L'.split('_'),
2276 LL : 'D. MMMM YYYY',
2277 LLL : 'D. MMMM YYYY H:mm',
2278 LLLL : 'dddd, D. MMMM YYYY H:mm'
2281 sameDay : '[Täna,] LT',
2282 nextDay : '[Homme,] LT',
2283 nextWeek : '[Järgmine] dddd LT',
2284 lastDay : '[Eile,] LT',
2285 lastWeek : '[Eelmine] dddd LT',
2289 future : '%s pärast',
2291 s : et__processRelativeTime,
2292 m : et__processRelativeTime,
2293 mm : et__processRelativeTime,
2294 h : et__processRelativeTime,
2295 hh : et__processRelativeTime,
2296 d : et__processRelativeTime,
2298 M : et__processRelativeTime,
2299 MM : et__processRelativeTime,
2300 y : et__processRelativeTime,
2301 yy : et__processRelativeTime
2303 ordinalParse: /\d{1,2}\./,
2306 dow : 1, // Monday is the first day of the week.
2307 doy : 4 // The week that contains Jan 4th is the first week of the year.
2311 //! moment.js locale configuration
2312 //! locale : euskara (eu)
2313 //! author : Eneko Illarramendi : https://github.com/eillarra
2315 var eu = moment.defineLocale('eu', {
2316 months : 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split('_'),
2317 monthsShort : 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split('_'),
2318 monthsParseExact : true,
2319 weekdays : 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split('_'),
2320 weekdaysShort : 'ig._al._ar._az._og._ol._lr.'.split('_'),
2321 weekdaysMin : 'ig_al_ar_az_og_ol_lr'.split('_'),
2322 weekdaysParseExact : true,
2327 LL : 'YYYY[ko] MMMM[ren] D[a]',
2328 LLL : 'YYYY[ko] MMMM[ren] D[a] HH:mm',
2329 LLLL : 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm',
2331 ll : 'YYYY[ko] MMM D[a]',
2332 lll : 'YYYY[ko] MMM D[a] HH:mm',
2333 llll : 'ddd, YYYY[ko] MMM D[a] HH:mm'
2336 sameDay : '[gaur] LT[etan]',
2337 nextDay : '[bihar] LT[etan]',
2338 nextWeek : 'dddd LT[etan]',
2339 lastDay : '[atzo] LT[etan]',
2340 lastWeek : '[aurreko] dddd LT[etan]',
2344 future : '%s barru',
2346 s : 'segundo batzuk',
2358 ordinalParse: /\d{1,2}\./,
2361 dow : 1, // Monday is the first day of the week.
2362 doy : 7 // The week that contains Jan 1st is the first week of the year.
2366 //! moment.js locale configuration
2367 //! locale : Persian (fa)
2368 //! author : Ebrahim Byagowi : https://github.com/ebraminio
2370 var fa__symbolMap = {
2381 }, fa__numberMap = {
2394 var fa = moment.defineLocale('fa', {
2395 months : 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'),
2396 monthsShort : 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'),
2397 weekdays : 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split('_'),
2398 weekdaysShort : 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split('_'),
2399 weekdaysMin : 'ی_د_س_چ_پ_ج_ش'.split('_'),
2400 weekdaysParseExact : true,
2406 LLL : 'D MMMM YYYY HH:mm',
2407 LLLL : 'dddd, D MMMM YYYY HH:mm'
2409 meridiemParse: /قبل از ظهر|بعد از ظهر/,
2410 isPM: function (input) {
2411 return /بعد از ظهر/.test(input);
2413 meridiem : function (hour, minute, isLower) {
2415 return 'قبل از ظهر';
2417 return 'بعد از ظهر';
2421 sameDay : '[امروز ساعت] LT',
2422 nextDay : '[فردا ساعت] LT',
2423 nextWeek : 'dddd [ساعت] LT',
2424 lastDay : '[دیروز ساعت] LT',
2425 lastWeek : 'dddd [پیش] [ساعت] LT',
2443 preparse: function (string) {
2444 return string.replace(/[۰-۹]/g, function (match) {
2445 return fa__numberMap[match];
2446 }).replace(/،/g, ',');
2448 postformat: function (string) {
2449 return string.replace(/\d/g, function (match) {
2450 return fa__symbolMap[match];
2451 }).replace(/,/g, '،');
2453 ordinalParse: /\d{1,2}م/,
2456 dow : 6, // Saturday is the first day of the week.
2457 doy : 12 // The week that contains Jan 1st is the first week of the year.
2461 //! moment.js locale configuration
2462 //! locale : finnish (fi)
2463 //! author : Tarmo Aidantausta : https://github.com/bleadof
2465 var numbersPast = 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split(' '),
2467 'nolla', 'yhden', 'kahden', 'kolmen', 'neljän', 'viiden', 'kuuden',
2468 numbersPast[7], numbersPast[8], numbersPast[9]
2470 function fi__translate(number, withoutSuffix, key, isFuture) {
2474 return isFuture ? 'muutaman sekunnin' : 'muutama sekunti';
2476 return isFuture ? 'minuutin' : 'minuutti';
2478 result = isFuture ? 'minuutin' : 'minuuttia';
2481 return isFuture ? 'tunnin' : 'tunti';
2483 result = isFuture ? 'tunnin' : 'tuntia';
2486 return isFuture ? 'päivän' : 'päivä';
2488 result = isFuture ? 'päivän' : 'päivää';
2491 return isFuture ? 'kuukauden' : 'kuukausi';
2493 result = isFuture ? 'kuukauden' : 'kuukautta';
2496 return isFuture ? 'vuoden' : 'vuosi';
2498 result = isFuture ? 'vuoden' : 'vuotta';
2501 result = verbalNumber(number, isFuture) + ' ' + result;
2504 function verbalNumber(number, isFuture) {
2505 return number < 10 ? (isFuture ? numbersFuture[number] : numbersPast[number]) : number;
2508 var fi = moment.defineLocale('fi', {
2509 months : 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split('_'),
2510 monthsShort : 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split('_'),
2511 weekdays : 'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split('_'),
2512 weekdaysShort : 'su_ma_ti_ke_to_pe_la'.split('_'),
2513 weekdaysMin : 'su_ma_ti_ke_to_pe_la'.split('_'),
2518 LL : 'Do MMMM[ta] YYYY',
2519 LLL : 'Do MMMM[ta] YYYY, [klo] HH.mm',
2520 LLLL : 'dddd, Do MMMM[ta] YYYY, [klo] HH.mm',
2523 lll : 'Do MMM YYYY, [klo] HH.mm',
2524 llll : 'ddd, Do MMM YYYY, [klo] HH.mm'
2527 sameDay : '[tänään] [klo] LT',
2528 nextDay : '[huomenna] [klo] LT',
2529 nextWeek : 'dddd [klo] LT',
2530 lastDay : '[eilen] [klo] LT',
2531 lastWeek : '[viime] dddd[na] [klo] LT',
2535 future : '%s päästä',
2549 ordinalParse: /\d{1,2}\./,
2552 dow : 1, // Monday is the first day of the week.
2553 doy : 4 // The week that contains Jan 4th is the first week of the year.
2557 //! moment.js locale configuration
2558 //! locale : faroese (fo)
2559 //! author : Ragnar Johannesen : https://github.com/ragnar123
2561 var fo = moment.defineLocale('fo', {
2562 months : 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
2563 monthsShort : 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),
2564 weekdays : 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split('_'),
2565 weekdaysShort : 'sun_mán_týs_mik_hós_frí_ley'.split('_'),
2566 weekdaysMin : 'su_má_tý_mi_hó_fr_le'.split('_'),
2572 LLL : 'D MMMM YYYY HH:mm',
2573 LLLL : 'dddd D. MMMM, YYYY HH:mm'
2576 sameDay : '[Í dag kl.] LT',
2577 nextDay : '[Í morgin kl.] LT',
2578 nextWeek : 'dddd [kl.] LT',
2579 lastDay : '[Í gjár kl.] LT',
2580 lastWeek : '[síðstu] dddd [kl] LT',
2598 ordinalParse: /\d{1,2}\./,
2601 dow : 1, // Monday is the first day of the week.
2602 doy : 4 // The week that contains Jan 4th is the first week of the year.
2606 //! moment.js locale configuration
2607 //! locale : canadian french (fr-ca)
2608 //! author : Jonathan Abourbih : https://github.com/jonbca
2610 var fr_ca = moment.defineLocale('fr-ca', {
2611 months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'),
2612 monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'),
2613 monthsParseExact : true,
2614 weekdays : 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
2615 weekdaysShort : 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
2616 weekdaysMin : 'Di_Lu_Ma_Me_Je_Ve_Sa'.split('_'),
2617 weekdaysParseExact : true,
2623 LLL : 'D MMMM YYYY HH:mm',
2624 LLLL : 'dddd D MMMM YYYY HH:mm'
2627 sameDay: '[Aujourd\'hui à] LT',
2628 nextDay: '[Demain à] LT',
2629 nextWeek: 'dddd [à] LT',
2630 lastDay: '[Hier à] LT',
2631 lastWeek: 'dddd [dernier à] LT',
2637 s : 'quelques secondes',
2649 ordinalParse: /\d{1,2}(er|e)/,
2650 ordinal : function (number) {
2651 return number + (number === 1 ? 'er' : 'e');
2655 //! moment.js locale configuration
2656 //! locale : swiss french (fr)
2657 //! author : Gaspard Bucher : https://github.com/gaspard
2659 var fr_ch = moment.defineLocale('fr-ch', {
2660 months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'),
2661 monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'),
2662 monthsParseExact : true,
2663 weekdays : 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
2664 weekdaysShort : 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
2665 weekdaysMin : 'Di_Lu_Ma_Me_Je_Ve_Sa'.split('_'),
2666 weekdaysParseExact : true,
2672 LLL : 'D MMMM YYYY HH:mm',
2673 LLLL : 'dddd D MMMM YYYY HH:mm'
2676 sameDay: '[Aujourd\'hui à] LT',
2677 nextDay: '[Demain à] LT',
2678 nextWeek: 'dddd [à] LT',
2679 lastDay: '[Hier à] LT',
2680 lastWeek: 'dddd [dernier à] LT',
2686 s : 'quelques secondes',
2698 ordinalParse: /\d{1,2}(er|e)/,
2699 ordinal : function (number) {
2700 return number + (number === 1 ? 'er' : 'e');
2703 dow : 1, // Monday is the first day of the week.
2704 doy : 4 // The week that contains Jan 4th is the first week of the year.
2708 //! moment.js locale configuration
2709 //! locale : french (fr)
2710 //! author : John Fischer : https://github.com/jfroffice
2712 var fr = moment.defineLocale('fr', {
2713 months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'),
2714 monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'),
2715 monthsParseExact : true,
2716 weekdays : 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
2717 weekdaysShort : 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
2718 weekdaysMin : 'Di_Lu_Ma_Me_Je_Ve_Sa'.split('_'),
2719 weekdaysParseExact : true,
2725 LLL : 'D MMMM YYYY HH:mm',
2726 LLLL : 'dddd D MMMM YYYY HH:mm'
2729 sameDay: '[Aujourd\'hui à] LT',
2730 nextDay: '[Demain à] LT',
2731 nextWeek: 'dddd [à] LT',
2732 lastDay: '[Hier à] LT',
2733 lastWeek: 'dddd [dernier à] LT',
2739 s : 'quelques secondes',
2751 ordinalParse: /\d{1,2}(er|)/,
2752 ordinal : function (number) {
2753 return number + (number === 1 ? 'er' : '');
2756 dow : 1, // Monday is the first day of the week.
2757 doy : 4 // The week that contains Jan 4th is the first week of the year.
2761 //! moment.js locale configuration
2762 //! locale : frisian (fy)
2763 //! author : Robin van der Vliet : https://github.com/robin0van0der0v
2765 var fy__monthsShortWithDots = 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split('_'),
2766 fy__monthsShortWithoutDots = 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_');
2768 var fy = moment.defineLocale('fy', {
2769 months : 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split('_'),
2770 monthsShort : function (m, format) {
2771 if (/-MMM-/.test(format)) {
2772 return fy__monthsShortWithoutDots[m.month()];
2774 return fy__monthsShortWithDots[m.month()];
2777 monthsParseExact : true,
2778 weekdays : 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split('_'),
2779 weekdaysShort : 'si._mo._ti._wo._to._fr._so.'.split('_'),
2780 weekdaysMin : 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'),
2781 weekdaysParseExact : true,
2787 LLL : 'D MMMM YYYY HH:mm',
2788 LLLL : 'dddd D MMMM YYYY HH:mm'
2791 sameDay: '[hjoed om] LT',
2792 nextDay: '[moarn om] LT',
2793 nextWeek: 'dddd [om] LT',
2794 lastDay: '[juster om] LT',
2795 lastWeek: '[ôfrûne] dddd [om] LT',
2801 s : 'in pear sekonden',
2813 ordinalParse: /\d{1,2}(ste|de)/,
2814 ordinal : function (number) {
2815 return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');
2818 dow : 1, // Monday is the first day of the week.
2819 doy : 4 // The week that contains Jan 4th is the first week of the year.
2823 //! moment.js locale configuration
2824 //! locale : great britain scottish gealic (gd)
2825 //! author : Jon Ashdown : https://github.com/jonashdown
2828 'Am Faoilleach', 'An Gearran', 'Am Màrt', 'An Giblean', 'An Cèitean', 'An t-Ògmhios', 'An t-Iuchar', 'An Lùnastal', 'An t-Sultain', 'An Dàmhair', 'An t-Samhain', 'An Dùbhlachd'
2831 var gd__monthsShort = ['Faoi', 'Gear', 'Màrt', 'Gibl', 'Cèit', 'Ògmh', 'Iuch', 'Lùn', 'Sult', 'Dàmh', 'Samh', 'Dùbh'];
2833 var gd__weekdays = ['Didòmhnaich', 'Diluain', 'Dimàirt', 'Diciadain', 'Diardaoin', 'Dihaoine', 'Disathairne'];
2835 var weekdaysShort = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'];
2837 var weekdaysMin = ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa'];
2839 var gd = moment.defineLocale('gd', {
2840 months : gd__months,
2841 monthsShort : gd__monthsShort,
2842 monthsParseExact : true,
2843 weekdays : gd__weekdays,
2844 weekdaysShort : weekdaysShort,
2845 weekdaysMin : weekdaysMin,
2851 LLL : 'D MMMM YYYY HH:mm',
2852 LLLL : 'dddd, D MMMM YYYY HH:mm'
2855 sameDay : '[An-diugh aig] LT',
2856 nextDay : '[A-màireach aig] LT',
2857 nextWeek : 'dddd [aig] LT',
2858 lastDay : '[An-dè aig] LT',
2859 lastWeek : 'dddd [seo chaidh] [aig] LT',
2863 future : 'ann an %s',
2864 past : 'bho chionn %s',
2865 s : 'beagan diogan',
2867 mm : '%d mionaidean',
2877 ordinalParse : /\d{1,2}(d|na|mh)/,
2878 ordinal : function (number) {
2879 var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';
2880 return number + output;
2883 dow : 1, // Monday is the first day of the week.
2884 doy : 4 // The week that contains Jan 4th is the first week of the year.
2888 //! moment.js locale configuration
2889 //! locale : galician (gl)
2890 //! author : Juan G. Hurtado : https://github.com/juanghurtado
2892 var gl = moment.defineLocale('gl', {
2893 months : 'Xaneiro_Febreiro_Marzo_Abril_Maio_Xuño_Xullo_Agosto_Setembro_Outubro_Novembro_Decembro'.split('_'),
2894 monthsShort : 'Xan._Feb._Mar._Abr._Mai._Xuñ._Xul._Ago._Set._Out._Nov._Dec.'.split('_'),
2895 monthsParseExact: true,
2896 weekdays : 'Domingo_Luns_Martes_Mércores_Xoves_Venres_Sábado'.split('_'),
2897 weekdaysShort : 'Dom._Lun._Mar._Mér._Xov._Ven._Sáb.'.split('_'),
2898 weekdaysMin : 'Do_Lu_Ma_Mé_Xo_Ve_Sá'.split('_'),
2899 weekdaysParseExact : true,
2905 LLL : 'D MMMM YYYY H:mm',
2906 LLLL : 'dddd D MMMM YYYY H:mm'
2909 sameDay : function () {
2910 return '[hoxe ' + ((this.hours() !== 1) ? 'ás' : 'á') + '] LT';
2912 nextDay : function () {
2913 return '[mañá ' + ((this.hours() !== 1) ? 'ás' : 'á') + '] LT';
2915 nextWeek : function () {
2916 return 'dddd [' + ((this.hours() !== 1) ? 'ás' : 'a') + '] LT';
2918 lastDay : function () {
2919 return '[onte ' + ((this.hours() !== 1) ? 'á' : 'a') + '] LT';
2921 lastWeek : function () {
2922 return '[o] dddd [pasado ' + ((this.hours() !== 1) ? 'ás' : 'a') + '] LT';
2927 future : function (str) {
2928 if (str === 'uns segundos') {
2929 return 'nuns segundos';
2946 ordinalParse : /\d{1,2}º/,
2949 dow : 1, // Monday is the first day of the week.
2950 doy : 7 // The week that contains Jan 1st is the first week of the year.
2954 //! moment.js locale configuration
2955 //! locale : Hebrew (he)
2956 //! author : Tomer Cohen : https://github.com/tomer
2957 //! author : Moshe Simantov : https://github.com/DevelopmentIL
2958 //! author : Tal Ater : https://github.com/TalAter
2960 var he = moment.defineLocale('he', {
2961 months : 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split('_'),
2962 monthsShort : 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split('_'),
2963 weekdays : 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'),
2964 weekdaysShort : 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'),
2965 weekdaysMin : 'א_ב_ג_ד_ה_ו_ש'.split('_'),
2970 LL : 'D [ב]MMMM YYYY',
2971 LLL : 'D [ב]MMMM YYYY HH:mm',
2972 LLLL : 'dddd, D [ב]MMMM YYYY HH:mm',
2975 lll : 'D MMM YYYY HH:mm',
2976 llll : 'ddd, D MMM YYYY HH:mm'
2979 sameDay : '[היום ב־]LT',
2980 nextDay : '[מחר ב־]LT',
2981 nextWeek : 'dddd [בשעה] LT',
2982 lastDay : '[אתמול ב־]LT',
2983 lastWeek : '[ביום] dddd [האחרון בשעה] LT',
2993 hh : function (number) {
2997 return number + ' שעות';
3000 dd : function (number) {
3004 return number + ' ימים';
3007 MM : function (number) {
3011 return number + ' חודשים';
3014 yy : function (number) {
3017 } else if (number % 10 === 0 && number !== 10) {
3018 return number + ' שנה';
3020 return number + ' שנים';
3023 meridiemParse: /אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,
3024 isPM : function (input) {
3025 return /^(אחה"צ|אחרי הצהריים|בערב)$/.test(input);
3027 meridiem : function (hour, minute, isLower) {
3029 return 'לפנות בוקר';
3030 } else if (hour < 10) {
3032 } else if (hour < 12) {
3033 return isLower ? 'לפנה"צ' : 'לפני הצהריים';
3034 } else if (hour < 18) {
3035 return isLower ? 'אחה"צ' : 'אחרי הצהריים';
3042 //! moment.js locale configuration
3043 //! locale : hindi (hi)
3044 //! author : Mayank Singhal : https://github.com/mayanksinghal
3046 var hi__symbolMap = {
3071 var hi = moment.defineLocale('hi', {
3072 months : 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split('_'),
3073 monthsShort : 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split('_'),
3074 monthsParseExact: true,
3075 weekdays : 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),
3076 weekdaysShort : 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split('_'),
3077 weekdaysMin : 'र_सो_मं_बु_गु_शु_श'.split('_'),
3080 LTS : 'A h:mm:ss बजे',
3083 LLL : 'D MMMM YYYY, A h:mm बजे',
3084 LLLL : 'dddd, D MMMM YYYY, A h:mm बजे'
3087 sameDay : '[आज] LT',
3088 nextDay : '[कल] LT',
3089 nextWeek : 'dddd, LT',
3090 lastDay : '[कल] LT',
3091 lastWeek : '[पिछले] dddd, LT',
3109 preparse: function (string) {
3110 return string.replace(/[१२३४५६७८९०]/g, function (match) {
3111 return hi__numberMap[match];
3114 postformat: function (string) {
3115 return string.replace(/\d/g, function (match) {
3116 return hi__symbolMap[match];
3119 // Hindi notation for meridiems are quite fuzzy in practice. While there exists
3120 // a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi.
3121 meridiemParse: /रात|सुबह|दोपहर|शाम/,
3122 meridiemHour : function (hour, meridiem) {
3126 if (meridiem === 'रात') {
3127 return hour < 4 ? hour : hour + 12;
3128 } else if (meridiem === 'सुबह') {
3130 } else if (meridiem === 'दोपहर') {
3131 return hour >= 10 ? hour : hour + 12;
3132 } else if (meridiem === 'शाम') {
3136 meridiem : function (hour, minute, isLower) {
3139 } else if (hour < 10) {
3141 } else if (hour < 17) {
3143 } else if (hour < 20) {
3150 dow : 0, // Sunday is the first day of the week.
3151 doy : 6 // The week that contains Jan 1st is the first week of the year.
3155 //! moment.js locale configuration
3156 //! locale : hrvatski (hr)
3157 //! author : Bojan Marković : https://github.com/bmarkovic
3159 function hr__translate(number, withoutSuffix, key) {
3160 var result = number + ' ';
3163 return withoutSuffix ? 'jedna minuta' : 'jedne minute';
3167 } else if (number === 2 || number === 3 || number === 4) {
3174 return withoutSuffix ? 'jedan sat' : 'jednog sata';
3178 } else if (number === 2 || number === 3 || number === 4) {
3194 } else if (number === 2 || number === 3 || number === 4) {
3195 result += 'mjeseca';
3197 result += 'mjeseci';
3203 } else if (number === 2 || number === 3 || number === 4) {
3212 var hr = moment.defineLocale('hr', {
3214 format: 'siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca'.split('_'),
3215 standalone: 'siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split('_')
3217 monthsShort : 'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split('_'),
3218 monthsParseExact: true,
3219 weekdays : 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'),
3220 weekdaysShort : 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
3221 weekdaysMin : 'ne_po_ut_sr_če_pe_su'.split('_'),
3222 weekdaysParseExact : true,
3227 LL : 'D. MMMM YYYY',
3228 LLL : 'D. MMMM YYYY H:mm',
3229 LLLL : 'dddd, D. MMMM YYYY H:mm'
3232 sameDay : '[danas u] LT',
3233 nextDay : '[sutra u] LT',
3234 nextWeek : function () {
3235 switch (this.day()) {
3237 return '[u] [nedjelju] [u] LT';
3239 return '[u] [srijedu] [u] LT';
3241 return '[u] [subotu] [u] LT';
3246 return '[u] dddd [u] LT';
3249 lastDay : '[jučer u] LT',
3250 lastWeek : function () {
3251 switch (this.day()) {
3254 return '[prošlu] dddd [u] LT';
3256 return '[prošle] [subote] [u] LT';
3261 return '[prošli] dddd [u] LT';
3281 ordinalParse: /\d{1,2}\./,
3284 dow : 1, // Monday is the first day of the week.
3285 doy : 7 // The week that contains Jan 1st is the first week of the year.
3289 //! moment.js locale configuration
3290 //! locale : hungarian (hu)
3291 //! author : Adam Brunner : https://github.com/adambrunner
3293 var weekEndings = 'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split(' ');
3294 function hu__translate(number, withoutSuffix, key, isFuture) {
3299 return (isFuture || withoutSuffix) ? 'néhány másodperc' : 'néhány másodperce';
3301 return 'egy' + (isFuture || withoutSuffix ? ' perc' : ' perce');
3303 return num + (isFuture || withoutSuffix ? ' perc' : ' perce');
3305 return 'egy' + (isFuture || withoutSuffix ? ' óra' : ' órája');
3307 return num + (isFuture || withoutSuffix ? ' óra' : ' órája');
3309 return 'egy' + (isFuture || withoutSuffix ? ' nap' : ' napja');
3311 return num + (isFuture || withoutSuffix ? ' nap' : ' napja');
3313 return 'egy' + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');
3315 return num + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');
3317 return 'egy' + (isFuture || withoutSuffix ? ' év' : ' éve');
3319 return num + (isFuture || withoutSuffix ? ' év' : ' éve');
3323 function week(isFuture) {
3324 return (isFuture ? '' : '[múlt] ') + '[' + weekEndings[this.day()] + '] LT[-kor]';
3327 var hu = moment.defineLocale('hu', {
3328 months : 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split('_'),
3329 monthsShort : 'jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec'.split('_'),
3330 weekdays : 'vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat'.split('_'),
3331 weekdaysShort : 'vas_hét_kedd_sze_csüt_pén_szo'.split('_'),
3332 weekdaysMin : 'v_h_k_sze_cs_p_szo'.split('_'),
3337 LL : 'YYYY. MMMM D.',
3338 LLL : 'YYYY. MMMM D. H:mm',
3339 LLLL : 'YYYY. MMMM D., dddd H:mm'
3341 meridiemParse: /de|du/i,
3342 isPM: function (input) {
3343 return input.charAt(1).toLowerCase() === 'u';
3345 meridiem : function (hours, minutes, isLower) {
3347 return isLower === true ? 'de' : 'DE';
3349 return isLower === true ? 'du' : 'DU';
3353 sameDay : '[ma] LT[-kor]',
3354 nextDay : '[holnap] LT[-kor]',
3355 nextWeek : function () {
3356 return week.call(this, true);
3358 lastDay : '[tegnap] LT[-kor]',
3359 lastWeek : function () {
3360 return week.call(this, false);
3365 future : '%s múlva',
3379 ordinalParse: /\d{1,2}\./,
3382 dow : 1, // Monday is the first day of the week.
3383 doy : 7 // The week that contains Jan 1st is the first week of the year.
3387 //! moment.js locale configuration
3388 //! locale : Armenian (hy-am)
3389 //! author : Armendarabyan : https://github.com/armendarabyan
3391 var hy_am = moment.defineLocale('hy-am', {
3393 format: 'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'.split('_'),
3394 standalone: 'հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր'.split('_')
3396 monthsShort : 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_'),
3397 weekdays : 'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split('_'),
3398 weekdaysShort : 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),
3399 weekdaysMin : 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),
3404 LL : 'D MMMM YYYY թ.',
3405 LLL : 'D MMMM YYYY թ., HH:mm',
3406 LLLL : 'dddd, D MMMM YYYY թ., HH:mm'
3409 sameDay: '[այսօր] LT',
3410 nextDay: '[վաղը] LT',
3411 lastDay: '[երեկ] LT',
3412 nextWeek: function () {
3413 return 'dddd [օրը ժամը] LT';
3415 lastWeek: function () {
3416 return '[անցած] dddd [օրը ժամը] LT';
3423 s : 'մի քանի վայրկյան',
3435 meridiemParse: /գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,
3436 isPM: function (input) {
3437 return /^(ցերեկվա|երեկոյան)$/.test(input);
3439 meridiem : function (hour) {
3442 } else if (hour < 12) {
3444 } else if (hour < 17) {
3450 ordinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/,
3451 ordinal: function (number, period) {
3458 return number + '-ին';
3460 return number + '-րդ';
3466 dow : 1, // Monday is the first day of the week.
3467 doy : 7 // The week that contains Jan 1st is the first week of the year.
3471 //! moment.js locale configuration
3472 //! locale : Bahasa Indonesia (id)
3473 //! author : Mohammad Satrio Utomo : https://github.com/tyok
3474 //! reference: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan
3476 var id = moment.defineLocale('id', {
3477 months : 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split('_'),
3478 monthsShort : 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des'.split('_'),
3479 weekdays : 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'),
3480 weekdaysShort : 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'),
3481 weekdaysMin : 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'),
3487 LLL : 'D MMMM YYYY [pukul] HH.mm',
3488 LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm'
3490 meridiemParse: /pagi|siang|sore|malam/,
3491 meridiemHour : function (hour, meridiem) {
3495 if (meridiem === 'pagi') {
3497 } else if (meridiem === 'siang') {
3498 return hour >= 11 ? hour : hour + 12;
3499 } else if (meridiem === 'sore' || meridiem === 'malam') {
3503 meridiem : function (hours, minutes, isLower) {
3506 } else if (hours < 15) {
3508 } else if (hours < 19) {
3515 sameDay : '[Hari ini pukul] LT',
3516 nextDay : '[Besok pukul] LT',
3517 nextWeek : 'dddd [pukul] LT',
3518 lastDay : '[Kemarin pukul] LT',
3519 lastWeek : 'dddd [lalu pukul] LT',
3523 future : 'dalam %s',
3524 past : '%s yang lalu',
3525 s : 'beberapa detik',
3538 dow : 1, // Monday is the first day of the week.
3539 doy : 7 // The week that contains Jan 1st is the first week of the year.
3543 //! moment.js locale configuration
3544 //! locale : icelandic (is)
3545 //! author : Hinrik Örn Sigurðsson : https://github.com/hinrik
3547 function is__plural(n) {
3548 if (n % 100 === 11) {
3550 } else if (n % 10 === 1) {
3555 function is__translate(number, withoutSuffix, key, isFuture) {
3556 var result = number + ' ';
3559 return withoutSuffix || isFuture ? 'nokkrar sekúndur' : 'nokkrum sekúndum';
3561 return withoutSuffix ? 'mínúta' : 'mínútu';
3563 if (is__plural(number)) {
3564 return result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum');
3565 } else if (withoutSuffix) {
3566 return result + 'mínúta';
3568 return result + 'mínútu';
3570 if (is__plural(number)) {
3571 return result + (withoutSuffix || isFuture ? 'klukkustundir' : 'klukkustundum');
3573 return result + 'klukkustund';
3575 if (withoutSuffix) {
3578 return isFuture ? 'dag' : 'degi';
3580 if (is__plural(number)) {
3581 if (withoutSuffix) {
3582 return result + 'dagar';
3584 return result + (isFuture ? 'daga' : 'dögum');
3585 } else if (withoutSuffix) {
3586 return result + 'dagur';
3588 return result + (isFuture ? 'dag' : 'degi');
3590 if (withoutSuffix) {
3593 return isFuture ? 'mánuð' : 'mánuði';
3595 if (is__plural(number)) {
3596 if (withoutSuffix) {
3597 return result + 'mánuðir';
3599 return result + (isFuture ? 'mánuði' : 'mánuðum');
3600 } else if (withoutSuffix) {
3601 return result + 'mánuður';
3603 return result + (isFuture ? 'mánuð' : 'mánuði');
3605 return withoutSuffix || isFuture ? 'ár' : 'ári';
3607 if (is__plural(number)) {
3608 return result + (withoutSuffix || isFuture ? 'ár' : 'árum');
3610 return result + (withoutSuffix || isFuture ? 'ár' : 'ári');
3614 var is = moment.defineLocale('is', {
3615 months : 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split('_'),
3616 monthsShort : 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'),
3617 weekdays : 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split('_'),
3618 weekdaysShort : 'sun_mán_þri_mið_fim_fös_lau'.split('_'),
3619 weekdaysMin : 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'),
3624 LL : 'D. MMMM YYYY',
3625 LLL : 'D. MMMM YYYY [kl.] H:mm',
3626 LLLL : 'dddd, D. MMMM YYYY [kl.] H:mm'
3629 sameDay : '[í dag kl.] LT',
3630 nextDay : '[á morgun kl.] LT',
3631 nextWeek : 'dddd [kl.] LT',
3632 lastDay : '[í gær kl.] LT',
3633 lastWeek : '[síðasta] dddd [kl.] LT',
3637 future : 'eftir %s',
3638 past : 'fyrir %s síðan',
3651 ordinalParse: /\d{1,2}\./,
3654 dow : 1, // Monday is the first day of the week.
3655 doy : 4 // The week that contains Jan 4th is the first week of the year.
3659 //! moment.js locale configuration
3660 //! locale : italian (it)
3661 //! author : Lorenzo : https://github.com/aliem
3662 //! author: Mattia Larentis: https://github.com/nostalgiaz
3664 var it = moment.defineLocale('it', {
3665 months : 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split('_'),
3666 monthsShort : 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
3667 weekdays : 'Domenica_Lunedì_Martedì_Mercoledì_Giovedì_Venerdì_Sabato'.split('_'),
3668 weekdaysShort : 'Dom_Lun_Mar_Mer_Gio_Ven_Sab'.split('_'),
3669 weekdaysMin : 'Do_Lu_Ma_Me_Gi_Ve_Sa'.split('_'),
3675 LLL : 'D MMMM YYYY HH:mm',
3676 LLLL : 'dddd, D MMMM YYYY HH:mm'
3679 sameDay: '[Oggi alle] LT',
3680 nextDay: '[Domani alle] LT',
3681 nextWeek: 'dddd [alle] LT',
3682 lastDay: '[Ieri alle] LT',
3683 lastWeek: function () {
3684 switch (this.day()) {
3686 return '[la scorsa] dddd [alle] LT';
3688 return '[lo scorso] dddd [alle] LT';
3694 future : function (s) {
3695 return ((/^[0-9].+$/).test(s) ? 'tra' : 'in') + ' ' + s;
3698 s : 'alcuni secondi',
3710 ordinalParse : /\d{1,2}º/,
3713 dow : 1, // Monday is the first day of the week.
3714 doy : 4 // The week that contains Jan 4th is the first week of the year.
3718 //! moment.js locale configuration
3719 //! locale : japanese (ja)
3720 //! author : LI Long : https://github.com/baryon
3722 var ja = moment.defineLocale('ja', {
3723 months : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
3724 monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
3725 weekdays : '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'),
3726 weekdaysShort : '日_月_火_水_木_金_土'.split('_'),
3727 weekdaysMin : '日_月_火_水_木_金_土'.split('_'),
3733 LLL : 'YYYY年M月D日Ah時m分',
3734 LLLL : 'YYYY年M月D日Ah時m分 dddd'
3736 meridiemParse: /午前|午後/i,
3737 isPM : function (input) {
3738 return input === '午後';
3740 meridiem : function (hour, minute, isLower) {
3748 sameDay : '[今日] LT',
3749 nextDay : '[明日] LT',
3750 nextWeek : '[来週]dddd LT',
3751 lastDay : '[昨日] LT',
3752 lastWeek : '[前週]dddd LT',
3755 ordinalParse : /\d{1,2}日/,
3756 ordinal : function (number, period) {
3761 return number + '日';
3783 //! moment.js locale configuration
3784 //! locale : Boso Jowo (jv)
3785 //! author : Rony Lantip : https://github.com/lantip
3786 //! reference: http://jv.wikipedia.org/wiki/Basa_Jawa
3788 var jv = moment.defineLocale('jv', {
3789 months : 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split('_'),
3790 monthsShort : 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split('_'),
3791 weekdays : 'Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu'.split('_'),
3792 weekdaysShort : 'Min_Sen_Sel_Reb_Kem_Jem_Sep'.split('_'),
3793 weekdaysMin : 'Mg_Sn_Sl_Rb_Km_Jm_Sp'.split('_'),
3799 LLL : 'D MMMM YYYY [pukul] HH.mm',
3800 LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm'
3802 meridiemParse: /enjing|siyang|sonten|ndalu/,
3803 meridiemHour : function (hour, meridiem) {
3807 if (meridiem === 'enjing') {
3809 } else if (meridiem === 'siyang') {
3810 return hour >= 11 ? hour : hour + 12;
3811 } else if (meridiem === 'sonten' || meridiem === 'ndalu') {
3815 meridiem : function (hours, minutes, isLower) {
3818 } else if (hours < 15) {
3820 } else if (hours < 19) {
3827 sameDay : '[Dinten puniko pukul] LT',
3828 nextDay : '[Mbenjang pukul] LT',
3829 nextWeek : 'dddd [pukul] LT',
3830 lastDay : '[Kala wingi pukul] LT',
3831 lastWeek : 'dddd [kepengker pukul] LT',
3835 future : 'wonten ing %s',
3836 past : '%s ingkang kepengker',
3837 s : 'sawetawis detik',
3838 m : 'setunggal menit',
3840 h : 'setunggal jam',
3850 dow : 1, // Monday is the first day of the week.
3851 doy : 7 // The week that contains Jan 1st is the first week of the year.
3855 //! moment.js locale configuration
3856 //! locale : Georgian (ka)
3857 //! author : Irakli Janiashvili : https://github.com/irakli-janiashvili
3859 var ka = moment.defineLocale('ka', {
3861 standalone: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split('_'),
3862 format: 'იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს'.split('_')
3864 monthsShort : 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'),
3866 standalone: 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split('_'),
3867 format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split('_'),
3868 isFormat: /(წინა|შემდეგ)/
3870 weekdaysShort : 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'),
3871 weekdaysMin : 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'),
3877 LLL : 'D MMMM YYYY h:mm A',
3878 LLLL : 'dddd, D MMMM YYYY h:mm A'
3881 sameDay : '[დღეს] LT[-ზე]',
3882 nextDay : '[ხვალ] LT[-ზე]',
3883 lastDay : '[გუშინ] LT[-ზე]',
3884 nextWeek : '[შემდეგ] dddd LT[-ზე]',
3885 lastWeek : '[წინა] dddd LT-ზე',
3889 future : function (s) {
3890 return (/(წამი|წუთი|საათი|წელი)/).test(s) ?
3891 s.replace(/ი$/, 'ში') :
3894 past : function (s) {
3895 if ((/(წამი|წუთი|საათი|დღე|თვე)/).test(s)) {
3896 return s.replace(/(ი|ე)$/, 'ის წინ');
3898 if ((/წელი/).test(s)) {
3899 return s.replace(/წელი$/, 'წლის წინ');
3902 s : 'რამდენიმე წამი',
3914 ordinalParse: /0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,
3915 ordinal : function (number) {
3920 return number + '-ლი';
3922 if ((number < 20) || (number <= 100 && (number % 20 === 0)) || (number % 100 === 0)) {
3923 return 'მე-' + number;
3925 return number + '-ე';
3933 //! moment.js locale configuration
3934 //! locale : kazakh (kk)
3935 //! authors : Nurlan Rakhimzhanov : https://github.com/nurlan
3937 var kk__suffixes = {
3960 var kk = moment.defineLocale('kk', {
3961 months : 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split('_'),
3962 monthsShort : 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'),
3963 weekdays : 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split('_'),
3964 weekdaysShort : 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'),
3965 weekdaysMin : 'жк_дй_сй_ср_бй_жм_сн'.split('_'),
3971 LLL : 'D MMMM YYYY HH:mm',
3972 LLLL : 'dddd, D MMMM YYYY HH:mm'
3975 sameDay : '[Бүгін сағат] LT',
3976 nextDay : '[Ертең сағат] LT',
3977 nextWeek : 'dddd [сағат] LT',
3978 lastDay : '[Кеше сағат] LT',
3979 lastWeek : '[Өткен аптаның] dddd [сағат] LT',
3983 future : '%s ішінде',
3985 s : 'бірнеше секунд',
3997 ordinalParse: /\d{1,2}-(ші|шы)/,
3998 ordinal : function (number) {
3999 var a = number % 10,
4000 b = number >= 100 ? 100 : null;
4001 return number + (kk__suffixes[number] || kk__suffixes[a] || kk__suffixes[b]);
4004 dow : 1, // Monday is the first day of the week.
4005 doy : 7 // The week that contains Jan 1st is the first week of the year.
4009 //! moment.js locale configuration
4010 //! locale : khmer (km)
4011 //! author : Kruy Vanna : https://github.com/kruyvanna
4013 var km = moment.defineLocale('km', {
4014 months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split('_'),
4015 monthsShort: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split('_'),
4016 weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),
4017 weekdaysShort: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),
4018 weekdaysMin: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),
4024 LLL: 'D MMMM YYYY HH:mm',
4025 LLLL: 'dddd, D MMMM YYYY HH:mm'
4028 sameDay: '[ថ្ងៃនេះ ម៉ោង] LT',
4029 nextDay: '[ស្អែក ម៉ោង] LT',
4030 nextWeek: 'dddd [ម៉ោង] LT',
4031 lastDay: '[ម្សិលមិញ ម៉ោង] LT',
4032 lastWeek: 'dddd [សប្តាហ៍មុន] [ម៉ោង] LT',
4038 s: 'ប៉ុន្មានវិនាទី',
4051 dow: 1, // Monday is the first day of the week.
4052 doy: 4 // The week that contains Jan 4th is the first week of the year.
4056 //! moment.js locale configuration
4057 //! locale : korean (ko)
4061 //! - Kyungwook, Park : https://github.com/kyungw00k
4062 //! - Jeeeyul Lee <jeeeyul@gmail.com>
4064 var ko = moment.defineLocale('ko', {
4065 months : '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
4066 monthsShort : '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
4067 weekdays : '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'),
4068 weekdaysShort : '일_월_화_수_목_금_토'.split('_'),
4069 weekdaysMin : '일_월_화_수_목_금_토'.split('_'),
4074 LL : 'YYYY년 MMMM D일',
4075 LLL : 'YYYY년 MMMM D일 A h시 m분',
4076 LLLL : 'YYYY년 MMMM D일 dddd A h시 m분'
4081 nextWeek : 'dddd LT',
4083 lastWeek : '지난주 dddd LT',
4102 ordinalParse : /\d{1,2}일/,
4104 meridiemParse : /오전|오후/,
4105 isPM : function (token) {
4106 return token === '오후';
4108 meridiem : function (hour, minute, isUpper) {
4109 return hour < 12 ? '오전' : '오후';
4113 //! moment.js locale configuration
4114 //! locale : kyrgyz (ky)
4115 //! author : Chyngyz Arystan uulu : https://github.com/chyngyz
4118 var ky__suffixes = {
4141 var ky = moment.defineLocale('ky', {
4142 months : 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split('_'),
4143 monthsShort : 'янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек'.split('_'),
4144 weekdays : 'Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби'.split('_'),
4145 weekdaysShort : 'Жек_Дүй_Шей_Шар_Бей_Жум_Ише'.split('_'),
4146 weekdaysMin : 'Жк_Дй_Шй_Шр_Бй_Жм_Иш'.split('_'),
4152 LLL : 'D MMMM YYYY HH:mm',
4153 LLLL : 'dddd, D MMMM YYYY HH:mm'
4156 sameDay : '[Бүгүн саат] LT',
4157 nextDay : '[Эртең саат] LT',
4158 nextWeek : 'dddd [саат] LT',
4159 lastDay : '[Кече саат] LT',
4160 lastWeek : '[Өткен аптанын] dddd [күнү] [саат] LT',
4164 future : '%s ичинде',
4166 s : 'бирнече секунд',
4178 ordinalParse: /\d{1,2}-(чи|чы|чү|чу)/,
4179 ordinal : function (number) {
4180 var a = number % 10,
4181 b = number >= 100 ? 100 : null;
4182 return number + (ky__suffixes[number] || ky__suffixes[a] || ky__suffixes[b]);
4185 dow : 1, // Monday is the first day of the week.
4186 doy : 7 // The week that contains Jan 1st is the first week of the year.
4190 //! moment.js locale configuration
4191 //! locale : Luxembourgish (lb)
4192 //! author : mweimerskirch : https://github.com/mweimerskirch, David Raison : https://github.com/kwisatz
4194 function lb__processRelativeTime(number, withoutSuffix, key, isFuture) {
4196 'm': ['eng Minutt', 'enger Minutt'],
4197 'h': ['eng Stonn', 'enger Stonn'],
4198 'd': ['een Dag', 'engem Dag'],
4199 'M': ['ee Mount', 'engem Mount'],
4200 'y': ['ee Joer', 'engem Joer']
4202 return withoutSuffix ? format[key][0] : format[key][1];
4204 function processFutureTime(string) {
4205 var number = string.substr(0, string.indexOf(' '));
4206 if (eifelerRegelAppliesToNumber(number)) {
4207 return 'a ' + string;
4209 return 'an ' + string;
4211 function processPastTime(string) {
4212 var number = string.substr(0, string.indexOf(' '));
4213 if (eifelerRegelAppliesToNumber(number)) {
4214 return 'viru ' + string;
4216 return 'virun ' + string;
4219 * Returns true if the word before the given number loses the '-n' ending.
4220 * e.g. 'an 10 Deeg' but 'a 5 Deeg'
4222 * @param number {integer}
4223 * @returns {boolean}
4225 function eifelerRegelAppliesToNumber(number) {
4226 number = parseInt(number, 10);
4227 if (isNaN(number)) {
4231 // Negative Number --> always true
4233 } else if (number < 10) {
4235 if (4 <= number && number <= 7) {
4239 } else if (number < 100) {
4241 var lastDigit = number % 10, firstDigit = number / 10;
4242 if (lastDigit === 0) {
4243 return eifelerRegelAppliesToNumber(firstDigit);
4245 return eifelerRegelAppliesToNumber(lastDigit);
4246 } else if (number < 10000) {
4247 // 3 or 4 digits --> recursively check first digit
4248 while (number >= 10) {
4249 number = number / 10;
4251 return eifelerRegelAppliesToNumber(number);
4253 // Anything larger than 4 digits: recursively check first n-3 digits
4254 number = number / 1000;
4255 return eifelerRegelAppliesToNumber(number);
4259 var lb = moment.defineLocale('lb', {
4260 months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),
4261 monthsShort: 'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'),
4262 monthsParseExact : true,
4263 weekdays: 'Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg'.split('_'),
4264 weekdaysShort: 'So._Mé._Dë._Më._Do._Fr._Sa.'.split('_'),
4265 weekdaysMin: 'So_Mé_Dë_Më_Do_Fr_Sa'.split('_'),
4266 weekdaysParseExact : true,
4269 LTS: 'H:mm:ss [Auer]',
4272 LLL: 'D. MMMM YYYY H:mm [Auer]',
4273 LLLL: 'dddd, D. MMMM YYYY H:mm [Auer]'
4276 sameDay: '[Haut um] LT',
4278 nextDay: '[Muer um] LT',
4279 nextWeek: 'dddd [um] LT',
4280 lastDay: '[Gëschter um] LT',
4281 lastWeek: function () {
4282 // Different date string for 'Dënschdeg' (Tuesday) and 'Donneschdeg' (Thursday) due to phonological rule
4283 switch (this.day()) {
4286 return '[Leschten] dddd [um] LT';
4288 return '[Leschte] dddd [um] LT';
4293 future : processFutureTime,
4294 past : processPastTime,
4295 s : 'e puer Sekonnen',
4296 m : lb__processRelativeTime,
4298 h : lb__processRelativeTime,
4300 d : lb__processRelativeTime,
4302 M : lb__processRelativeTime,
4304 y : lb__processRelativeTime,
4307 ordinalParse: /\d{1,2}\./,
4310 dow: 1, // Monday is the first day of the week.
4311 doy: 4 // The week that contains Jan 4th is the first week of the year.
4315 //! moment.js locale configuration
4316 //! locale : lao (lo)
4317 //! author : Ryan Hart : https://github.com/ryanhart2
4319 var lo = moment.defineLocale('lo', {
4320 months : 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split('_'),
4321 monthsShort : 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split('_'),
4322 weekdays : 'ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),
4323 weekdaysShort : 'ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),
4324 weekdaysMin : 'ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ'.split('_'),
4325 weekdaysParseExact : true,
4331 LLL : 'D MMMM YYYY HH:mm',
4332 LLLL : 'ວັນdddd D MMMM YYYY HH:mm'
4334 meridiemParse: /ຕອນເຊົ້າ|ຕອນແລງ/,
4335 isPM: function (input) {
4336 return input === 'ຕອນແລງ';
4338 meridiem : function (hour, minute, isLower) {
4346 sameDay : '[ມື້ນີ້ເວລາ] LT',
4347 nextDay : '[ມື້ອື່ນເວລາ] LT',
4348 nextWeek : '[ວັນ]dddd[ໜ້າເວລາ] LT',
4349 lastDay : '[ມື້ວານນີ້ເວລາ] LT',
4350 lastWeek : '[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT',
4356 s : 'ບໍ່ເທົ່າໃດວິນາທີ',
4368 ordinalParse: /(ທີ່)\d{1,2}/,
4369 ordinal : function (number) {
4370 return 'ທີ່' + number;
4374 //! moment.js locale configuration
4375 //! locale : Lithuanian (lt)
4376 //! author : Mindaugas Mozūras : https://github.com/mmozuras
4379 'm' : 'minutė_minutės_minutę',
4380 'mm': 'minutės_minučių_minutes',
4381 'h' : 'valanda_valandos_valandą',
4382 'hh': 'valandos_valandų_valandas',
4383 'd' : 'diena_dienos_dieną',
4384 'dd': 'dienos_dienų_dienas',
4385 'M' : 'mėnuo_mėnesio_mėnesį',
4386 'MM': 'mėnesiai_mėnesių_mėnesius',
4387 'y' : 'metai_metų_metus',
4388 'yy': 'metai_metų_metus'
4390 function translateSeconds(number, withoutSuffix, key, isFuture) {
4391 if (withoutSuffix) {
4392 return 'kelios sekundės';
4394 return isFuture ? 'kelių sekundžių' : 'kelias sekundes';
4397 function translateSingular(number, withoutSuffix, key, isFuture) {
4398 return withoutSuffix ? forms(key)[0] : (isFuture ? forms(key)[1] : forms(key)[2]);
4400 function special(number) {
4401 return number % 10 === 0 || (number > 10 && number < 20);
4403 function forms(key) {
4404 return lt__units[key].split('_');
4406 function lt__translate(number, withoutSuffix, key, isFuture) {
4407 var result = number + ' ';
4409 return result + translateSingular(number, withoutSuffix, key[0], isFuture);
4410 } else if (withoutSuffix) {
4411 return result + (special(number) ? forms(key)[1] : forms(key)[0]);
4414 return result + forms(key)[1];
4416 return result + (special(number) ? forms(key)[1] : forms(key)[2]);
4420 var lt = moment.defineLocale('lt', {
4422 format: 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split('_'),
4423 standalone: 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split('_')
4425 monthsShort : 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'),
4427 format: 'sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį'.split('_'),
4428 standalone: 'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split('_'),
4429 isFormat: /dddd HH:mm/
4431 weekdaysShort : 'Sek_Pir_Ant_Tre_Ket_Pen_Šeš'.split('_'),
4432 weekdaysMin : 'S_P_A_T_K_Pn_Š'.split('_'),
4433 weekdaysParseExact : true,
4438 LL : 'YYYY [m.] MMMM D [d.]',
4439 LLL : 'YYYY [m.] MMMM D [d.], HH:mm [val.]',
4440 LLLL : 'YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]',
4442 ll : 'YYYY [m.] MMMM D [d.]',
4443 lll : 'YYYY [m.] MMMM D [d.], HH:mm [val.]',
4444 llll : 'YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]'
4447 sameDay : '[Šiandien] LT',
4448 nextDay : '[Rytoj] LT',
4449 nextWeek : 'dddd LT',
4450 lastDay : '[Vakar] LT',
4451 lastWeek : '[Praėjusį] dddd LT',
4457 s : translateSeconds,
4458 m : translateSingular,
4460 h : translateSingular,
4462 d : translateSingular,
4464 M : translateSingular,
4466 y : translateSingular,
4469 ordinalParse: /\d{1,2}-oji/,
4470 ordinal : function (number) {
4471 return number + '-oji';
4474 dow : 1, // Monday is the first day of the week.
4475 doy : 4 // The week that contains Jan 4th is the first week of the year.
4479 //! moment.js locale configuration
4480 //! locale : latvian (lv)
4481 //! author : Kristaps Karlsons : https://github.com/skakri
4482 //! author : Jānis Elmeris : https://github.com/JanisE
4485 'm': 'minūtes_minūtēm_minūte_minūtes'.split('_'),
4486 'mm': 'minūtes_minūtēm_minūte_minūtes'.split('_'),
4487 'h': 'stundas_stundām_stunda_stundas'.split('_'),
4488 'hh': 'stundas_stundām_stunda_stundas'.split('_'),
4489 'd': 'dienas_dienām_diena_dienas'.split('_'),
4490 'dd': 'dienas_dienām_diena_dienas'.split('_'),
4491 'M': 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'),
4492 'MM': 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'),
4493 'y': 'gada_gadiem_gads_gadi'.split('_'),
4494 'yy': 'gada_gadiem_gads_gadi'.split('_')
4497 * @param withoutSuffix boolean true = a length of time; false = before/after a period of time.
4499 function format(forms, number, withoutSuffix) {
4500 if (withoutSuffix) {
4501 // E.g. "21 minūte", "3 minūtes".
4502 return number % 10 === 1 && number !== 11 ? forms[2] : forms[3];
4504 // E.g. "21 minūtes" as in "pēc 21 minūtes".
4505 // E.g. "3 minūtēm" as in "pēc 3 minūtēm".
4506 return number % 10 === 1 && number !== 11 ? forms[0] : forms[1];
4509 function lv__relativeTimeWithPlural(number, withoutSuffix, key) {
4510 return number + ' ' + format(lv__units[key], number, withoutSuffix);
4512 function relativeTimeWithSingular(number, withoutSuffix, key) {
4513 return format(lv__units[key], number, withoutSuffix);
4515 function relativeSeconds(number, withoutSuffix) {
4516 return withoutSuffix ? 'dažas sekundes' : 'dažām sekundēm';
4519 var lv = moment.defineLocale('lv', {
4520 months : 'janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris'.split('_'),
4521 monthsShort : 'jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec'.split('_'),
4522 weekdays : 'svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena'.split('_'),
4523 weekdaysShort : 'Sv_P_O_T_C_Pk_S'.split('_'),
4524 weekdaysMin : 'Sv_P_O_T_C_Pk_S'.split('_'),
4525 weekdaysParseExact : true,
4530 LL : 'YYYY. [gada] D. MMMM',
4531 LLL : 'YYYY. [gada] D. MMMM, HH:mm',
4532 LLLL : 'YYYY. [gada] D. MMMM, dddd, HH:mm'
4535 sameDay : '[Šodien pulksten] LT',
4536 nextDay : '[Rīt pulksten] LT',
4537 nextWeek : 'dddd [pulksten] LT',
4538 lastDay : '[Vakar pulksten] LT',
4539 lastWeek : '[Pagājušā] dddd [pulksten] LT',
4545 s : relativeSeconds,
4546 m : relativeTimeWithSingular,
4547 mm : lv__relativeTimeWithPlural,
4548 h : relativeTimeWithSingular,
4549 hh : lv__relativeTimeWithPlural,
4550 d : relativeTimeWithSingular,
4551 dd : lv__relativeTimeWithPlural,
4552 M : relativeTimeWithSingular,
4553 MM : lv__relativeTimeWithPlural,
4554 y : relativeTimeWithSingular,
4555 yy : lv__relativeTimeWithPlural
4557 ordinalParse: /\d{1,2}\./,
4560 dow : 1, // Monday is the first day of the week.
4561 doy : 4 // The week that contains Jan 4th is the first week of the year.
4565 //! moment.js locale configuration
4566 //! locale : Montenegrin (me)
4567 //! author : Miodrag Nikač <miodrag@restartit.me> : https://github.com/miodragnikac
4569 var me__translator = {
4570 words: { //Different grammatical cases
4571 m: ['jedan minut', 'jednog minuta'],
4572 mm: ['minut', 'minuta', 'minuta'],
4573 h: ['jedan sat', 'jednog sata'],
4574 hh: ['sat', 'sata', 'sati'],
4575 dd: ['dan', 'dana', 'dana'],
4576 MM: ['mjesec', 'mjeseca', 'mjeseci'],
4577 yy: ['godina', 'godine', 'godina']
4579 correctGrammaticalCase: function (number, wordKey) {
4580 return number === 1 ? wordKey[0] : (number >= 2 && number <= 4 ? wordKey[1] : wordKey[2]);
4582 translate: function (number, withoutSuffix, key) {
4583 var wordKey = me__translator.words[key];
4584 if (key.length === 1) {
4585 return withoutSuffix ? wordKey[0] : wordKey[1];
4587 return number + ' ' + me__translator.correctGrammaticalCase(number, wordKey);
4592 var me = moment.defineLocale('me', {
4593 months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split('_'),
4594 monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'),
4595 monthsParseExact : true,
4596 weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'),
4597 weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
4598 weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
4599 weekdaysParseExact : true,
4605 LLL: 'D. MMMM YYYY H:mm',
4606 LLLL: 'dddd, D. MMMM YYYY H:mm'
4609 sameDay: '[danas u] LT',
4610 nextDay: '[sjutra u] LT',
4612 nextWeek: function () {
4613 switch (this.day()) {
4615 return '[u] [nedjelju] [u] LT';
4617 return '[u] [srijedu] [u] LT';
4619 return '[u] [subotu] [u] LT';
4624 return '[u] dddd [u] LT';
4627 lastDay : '[juče u] LT',
4628 lastWeek : function () {
4629 var lastWeekDays = [
4630 '[prošle] [nedjelje] [u] LT',
4631 '[prošlog] [ponedjeljka] [u] LT',
4632 '[prošlog] [utorka] [u] LT',
4633 '[prošle] [srijede] [u] LT',
4634 '[prošlog] [četvrtka] [u] LT',
4635 '[prošlog] [petka] [u] LT',
4636 '[prošle] [subote] [u] LT'
4638 return lastWeekDays[this.day()];
4645 s : 'nekoliko sekundi',
4646 m : me__translator.translate,
4647 mm : me__translator.translate,
4648 h : me__translator.translate,
4649 hh : me__translator.translate,
4651 dd : me__translator.translate,
4653 MM : me__translator.translate,
4655 yy : me__translator.translate
4657 ordinalParse: /\d{1,2}\./,
4660 dow : 1, // Monday is the first day of the week.
4661 doy : 7 // The week that contains Jan 1st is the first week of the year.
4665 //! moment.js locale configuration
4666 //! locale : macedonian (mk)
4667 //! author : Borislav Mickov : https://github.com/B0k0
4669 var mk = moment.defineLocale('mk', {
4670 months : 'јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември'.split('_'),
4671 monthsShort : 'јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек'.split('_'),
4672 weekdays : 'недела_понеделник_вторник_среда_четврток_петок_сабота'.split('_'),
4673 weekdaysShort : 'нед_пон_вто_сре_чет_пет_саб'.split('_'),
4674 weekdaysMin : 'нe_пo_вт_ср_че_пе_сa'.split('_'),
4680 LLL : 'D MMMM YYYY H:mm',
4681 LLLL : 'dddd, D MMMM YYYY H:mm'
4684 sameDay : '[Денес во] LT',
4685 nextDay : '[Утре во] LT',
4686 nextWeek : '[Во] dddd [во] LT',
4687 lastDay : '[Вчера во] LT',
4688 lastWeek : function () {
4689 switch (this.day()) {
4693 return '[Изминатата] dddd [во] LT';
4698 return '[Изминатиот] dddd [во] LT';
4704 future : 'после %s',
4706 s : 'неколку секунди',
4718 ordinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
4719 ordinal : function (number) {
4720 var lastDigit = number % 10,
4721 last2Digits = number % 100;
4723 return number + '-ев';
4724 } else if (last2Digits === 0) {
4725 return number + '-ен';
4726 } else if (last2Digits > 10 && last2Digits < 20) {
4727 return number + '-ти';
4728 } else if (lastDigit === 1) {
4729 return number + '-ви';
4730 } else if (lastDigit === 2) {
4731 return number + '-ри';
4732 } else if (lastDigit === 7 || lastDigit === 8) {
4733 return number + '-ми';
4735 return number + '-ти';
4739 dow : 1, // Monday is the first day of the week.
4740 doy : 7 // The week that contains Jan 1st is the first week of the year.
4744 //! moment.js locale configuration
4745 //! locale : malayalam (ml)
4746 //! author : Floyd Pink : https://github.com/floydpink
4748 var ml = moment.defineLocale('ml', {
4749 months : 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split('_'),
4750 monthsShort : 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split('_'),
4751 monthsParseExact : true,
4752 weekdays : 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split('_'),
4753 weekdaysShort : 'ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി'.split('_'),
4754 weekdaysMin : 'ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ'.split('_'),
4757 LTS : 'A h:mm:ss -നു',
4760 LLL : 'D MMMM YYYY, A h:mm -നു',
4761 LLLL : 'dddd, D MMMM YYYY, A h:mm -നു'
4764 sameDay : '[ഇന്ന്] LT',
4765 nextDay : '[നാളെ] LT',
4766 nextWeek : 'dddd, LT',
4767 lastDay : '[ഇന്നലെ] LT',
4768 lastWeek : '[കഴിഞ്ഞ] dddd, LT',
4772 future : '%s കഴിഞ്ഞ്',
4774 s : 'അൽപ നിമിഷങ്ങൾ',
4786 meridiemParse: /രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,
4787 meridiemHour : function (hour, meridiem) {
4791 if ((meridiem === 'രാത്രി' && hour >= 4) ||
4792 meridiem === 'ഉച്ച കഴിഞ്ഞ്' ||
4793 meridiem === 'വൈകുന്നേരം') {
4799 meridiem : function (hour, minute, isLower) {
4802 } else if (hour < 12) {
4804 } else if (hour < 17) {
4805 return 'ഉച്ച കഴിഞ്ഞ്';
4806 } else if (hour < 20) {
4807 return 'വൈകുന്നേരം';
4814 //! moment.js locale configuration
4815 //! locale : Marathi (mr)
4816 //! author : Harshad Kale : https://github.com/kalehv
4817 //! author : Vivek Athalye : https://github.com/vnathalye
4819 var mr__symbolMap = {
4844 function relativeTimeMr(number, withoutSuffix, string, isFuture)
4847 if (withoutSuffix) {
4849 case 's': output = 'काही सेकंद'; break;
4850 case 'm': output = 'एक मिनिट'; break;
4851 case 'mm': output = '%d मिनिटे'; break;
4852 case 'h': output = 'एक तास'; break;
4853 case 'hh': output = '%d तास'; break;
4854 case 'd': output = 'एक दिवस'; break;
4855 case 'dd': output = '%d दिवस'; break;
4856 case 'M': output = 'एक महिना'; break;
4857 case 'MM': output = '%d महिने'; break;
4858 case 'y': output = 'एक वर्ष'; break;
4859 case 'yy': output = '%d वर्षे'; break;
4864 case 's': output = 'काही सेकंदां'; break;
4865 case 'm': output = 'एका मिनिटा'; break;
4866 case 'mm': output = '%d मिनिटां'; break;
4867 case 'h': output = 'एका तासा'; break;
4868 case 'hh': output = '%d तासां'; break;
4869 case 'd': output = 'एका दिवसा'; break;
4870 case 'dd': output = '%d दिवसां'; break;
4871 case 'M': output = 'एका महिन्या'; break;
4872 case 'MM': output = '%d महिन्यां'; break;
4873 case 'y': output = 'एका वर्षा'; break;
4874 case 'yy': output = '%d वर्षां'; break;
4877 return output.replace(/%d/i, number);
4880 var mr = moment.defineLocale('mr', {
4881 months : 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split('_'),
4882 monthsShort: 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split('_'),
4883 monthsParseExact : true,
4884 weekdays : 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),
4885 weekdaysShort : 'रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि'.split('_'),
4886 weekdaysMin : 'र_सो_मं_बु_गु_शु_श'.split('_'),
4888 LT : 'A h:mm वाजता',
4889 LTS : 'A h:mm:ss वाजता',
4892 LLL : 'D MMMM YYYY, A h:mm वाजता',
4893 LLLL : 'dddd, D MMMM YYYY, A h:mm वाजता'
4896 sameDay : '[आज] LT',
4897 nextDay : '[उद्या] LT',
4898 nextWeek : 'dddd, LT',
4899 lastDay : '[काल] LT',
4900 lastWeek: '[मागील] dddd, LT',
4918 preparse: function (string) {
4919 return string.replace(/[१२३४५६७८९०]/g, function (match) {
4920 return mr__numberMap[match];
4923 postformat: function (string) {
4924 return string.replace(/\d/g, function (match) {
4925 return mr__symbolMap[match];
4928 meridiemParse: /रात्री|सकाळी|दुपारी|सायंकाळी/,
4929 meridiemHour : function (hour, meridiem) {
4933 if (meridiem === 'रात्री') {
4934 return hour < 4 ? hour : hour + 12;
4935 } else if (meridiem === 'सकाळी') {
4937 } else if (meridiem === 'दुपारी') {
4938 return hour >= 10 ? hour : hour + 12;
4939 } else if (meridiem === 'सायंकाळी') {
4943 meridiem: function (hour, minute, isLower) {
4946 } else if (hour < 10) {
4948 } else if (hour < 17) {
4950 } else if (hour < 20) {
4957 dow : 0, // Sunday is the first day of the week.
4958 doy : 6 // The week that contains Jan 1st is the first week of the year.
4962 //! moment.js locale configuration
4963 //! locale : Bahasa Malaysia (ms-MY)
4964 //! author : Weldan Jamili : https://github.com/weldan
4966 var ms_my = moment.defineLocale('ms-my', {
4967 months : 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'),
4968 monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
4969 weekdays : 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
4970 weekdaysShort : 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
4971 weekdaysMin : 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),
4977 LLL : 'D MMMM YYYY [pukul] HH.mm',
4978 LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm'
4980 meridiemParse: /pagi|tengahari|petang|malam/,
4981 meridiemHour: function (hour, meridiem) {
4985 if (meridiem === 'pagi') {
4987 } else if (meridiem === 'tengahari') {
4988 return hour >= 11 ? hour : hour + 12;
4989 } else if (meridiem === 'petang' || meridiem === 'malam') {
4993 meridiem : function (hours, minutes, isLower) {
4996 } else if (hours < 15) {
4998 } else if (hours < 19) {
5005 sameDay : '[Hari ini pukul] LT',
5006 nextDay : '[Esok pukul] LT',
5007 nextWeek : 'dddd [pukul] LT',
5008 lastDay : '[Kelmarin pukul] LT',
5009 lastWeek : 'dddd [lepas pukul] LT',
5013 future : 'dalam %s',
5014 past : '%s yang lepas',
5015 s : 'beberapa saat',
5028 dow : 1, // Monday is the first day of the week.
5029 doy : 7 // The week that contains Jan 1st is the first week of the year.
5033 //! moment.js locale configuration
5034 //! locale : Bahasa Malaysia (ms-MY)
5035 //! author : Weldan Jamili : https://github.com/weldan
5037 var ms = moment.defineLocale('ms', {
5038 months : 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'),
5039 monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
5040 weekdays : 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
5041 weekdaysShort : 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
5042 weekdaysMin : 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),
5048 LLL : 'D MMMM YYYY [pukul] HH.mm',
5049 LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm'
5051 meridiemParse: /pagi|tengahari|petang|malam/,
5052 meridiemHour: function (hour, meridiem) {
5056 if (meridiem === 'pagi') {
5058 } else if (meridiem === 'tengahari') {
5059 return hour >= 11 ? hour : hour + 12;
5060 } else if (meridiem === 'petang' || meridiem === 'malam') {
5064 meridiem : function (hours, minutes, isLower) {
5067 } else if (hours < 15) {
5069 } else if (hours < 19) {
5076 sameDay : '[Hari ini pukul] LT',
5077 nextDay : '[Esok pukul] LT',
5078 nextWeek : 'dddd [pukul] LT',
5079 lastDay : '[Kelmarin pukul] LT',
5080 lastWeek : 'dddd [lepas pukul] LT',
5084 future : 'dalam %s',
5085 past : '%s yang lepas',
5086 s : 'beberapa saat',
5099 dow : 1, // Monday is the first day of the week.
5100 doy : 7 // The week that contains Jan 1st is the first week of the year.
5104 //! moment.js locale configuration
5105 //! locale : Burmese (my)
5106 //! author : Squar team, mysquar.com
5108 var my__symbolMap = {
5119 }, my__numberMap = {
5132 var my = moment.defineLocale('my', {
5133 months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split('_'),
5134 monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'),
5135 weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split('_'),
5136 weekdaysShort: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
5137 weekdaysMin: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
5144 LLL: 'D MMMM YYYY HH:mm',
5145 LLLL: 'dddd D MMMM YYYY HH:mm'
5148 sameDay: '[ယနေ.] LT [မှာ]',
5149 nextDay: '[မနက်ဖြန်] LT [မှာ]',
5150 nextWeek: 'dddd LT [မှာ]',
5151 lastDay: '[မနေ.က] LT [မှာ]',
5152 lastWeek: '[ပြီးခဲ့သော] dddd LT [မှာ]',
5156 future: 'လာမည့် %s မှာ',
5157 past: 'လွန်ခဲ့သော %s က',
5158 s: 'စက္ကန်.အနည်းငယ်',
5170 preparse: function (string) {
5171 return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) {
5172 return my__numberMap[match];
5175 postformat: function (string) {
5176 return string.replace(/\d/g, function (match) {
5177 return my__symbolMap[match];
5181 dow: 1, // Monday is the first day of the week.
5182 doy: 4 // The week that contains Jan 1st is the first week of the year.
5186 //! moment.js locale configuration
5187 //! locale : norwegian bokmål (nb)
5188 //! authors : Espen Hovlandsdal : https://github.com/rexxars
5189 //! Sigurd Gartmann : https://github.com/sigurdga
5191 var nb = moment.defineLocale('nb', {
5192 months : 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
5193 monthsShort : 'jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.'.split('_'),
5194 monthsParseExact : true,
5195 weekdays : 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
5196 weekdaysShort : 'sø._ma._ti._on._to._fr._lø.'.split('_'),
5197 weekdaysMin : 'sø_ma_ti_on_to_fr_lø'.split('_'),
5198 weekdaysParseExact : true,
5203 LL : 'D. MMMM YYYY',
5204 LLL : 'D. MMMM YYYY [kl.] HH:mm',
5205 LLLL : 'dddd D. MMMM YYYY [kl.] HH:mm'
5208 sameDay: '[i dag kl.] LT',
5209 nextDay: '[i morgen kl.] LT',
5210 nextWeek: 'dddd [kl.] LT',
5211 lastDay: '[i går kl.] LT',
5212 lastWeek: '[forrige] dddd [kl.] LT',
5218 s : 'noen sekunder',
5230 ordinalParse: /\d{1,2}\./,
5233 dow : 1, // Monday is the first day of the week.
5234 doy : 4 // The week that contains Jan 4th is the first week of the year.
5238 //! moment.js locale configuration
5239 //! locale : nepali/nepalese
5240 //! author : suvash : https://github.com/suvash
5242 var ne__symbolMap = {
5267 var ne = moment.defineLocale('ne', {
5268 months : 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split('_'),
5269 monthsShort : 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split('_'),
5270 monthsParseExact : true,
5271 weekdays : 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split('_'),
5272 weekdaysShort : 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'),
5273 weekdaysMin : 'आ._सो._मं._बु._बि._शु._श.'.split('_'),
5274 weekdaysParseExact : true,
5276 LT : 'Aको h:mm बजे',
5277 LTS : 'Aको h:mm:ss बजे',
5280 LLL : 'D MMMM YYYY, Aको h:mm बजे',
5281 LLLL : 'dddd, D MMMM YYYY, Aको h:mm बजे'
5283 preparse: function (string) {
5284 return string.replace(/[१२३४५६७८९०]/g, function (match) {
5285 return ne__numberMap[match];
5288 postformat: function (string) {
5289 return string.replace(/\d/g, function (match) {
5290 return ne__symbolMap[match];
5293 meridiemParse: /राति|बिहान|दिउँसो|साँझ/,
5294 meridiemHour : function (hour, meridiem) {
5298 if (meridiem === 'राति') {
5299 return hour < 4 ? hour : hour + 12;
5300 } else if (meridiem === 'बिहान') {
5302 } else if (meridiem === 'दिउँसो') {
5303 return hour >= 10 ? hour : hour + 12;
5304 } else if (meridiem === 'साँझ') {
5308 meridiem : function (hour, minute, isLower) {
5311 } else if (hour < 12) {
5313 } else if (hour < 16) {
5315 } else if (hour < 20) {
5322 sameDay : '[आज] LT',
5323 nextDay : '[भोलि] LT',
5324 nextWeek : '[आउँदो] dddd[,] LT',
5325 lastDay : '[हिजो] LT',
5326 lastWeek : '[गएको] dddd[,] LT',
5345 dow : 0, // Sunday is the first day of the week.
5346 doy : 6 // The week that contains Jan 1st is the first week of the year.
5350 //! moment.js locale configuration
5351 //! locale : dutch (nl)
5352 //! author : Joris Röling : https://github.com/jjupiter
5354 var nl__monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),
5355 nl__monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_');
5357 var nl = moment.defineLocale('nl', {
5358 months : 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'),
5359 monthsShort : function (m, format) {
5360 if (/-MMM-/.test(format)) {
5361 return nl__monthsShortWithoutDots[m.month()];
5363 return nl__monthsShortWithDots[m.month()];
5366 monthsParseExact : true,
5367 weekdays : 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
5368 weekdaysShort : 'zo._ma._di._wo._do._vr._za.'.split('_'),
5369 weekdaysMin : 'Zo_Ma_Di_Wo_Do_Vr_Za'.split('_'),
5370 weekdaysParseExact : true,
5376 LLL : 'D MMMM YYYY HH:mm',
5377 LLLL : 'dddd D MMMM YYYY HH:mm'
5380 sameDay: '[vandaag om] LT',
5381 nextDay: '[morgen om] LT',
5382 nextWeek: 'dddd [om] LT',
5383 lastDay: '[gisteren om] LT',
5384 lastWeek: '[afgelopen] dddd [om] LT',
5389 past : '%s geleden',
5390 s : 'een paar seconden',
5402 ordinalParse: /\d{1,2}(ste|de)/,
5403 ordinal : function (number) {
5404 return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');
5407 dow : 1, // Monday is the first day of the week.
5408 doy : 4 // The week that contains Jan 4th is the first week of the year.
5412 //! moment.js locale configuration
5413 //! locale : norwegian nynorsk (nn)
5414 //! author : https://github.com/mechuwind
5416 var nn = moment.defineLocale('nn', {
5417 months : 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
5418 monthsShort : 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),
5419 weekdays : 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'),
5420 weekdaysShort : 'sun_mån_tys_ons_tor_fre_lau'.split('_'),
5421 weekdaysMin : 'su_må_ty_on_to_fr_lø'.split('_'),
5426 LL : 'D. MMMM YYYY',
5427 LLL : 'D. MMMM YYYY [kl.] H:mm',
5428 LLLL : 'dddd D. MMMM YYYY [kl.] HH:mm'
5431 sameDay: '[I dag klokka] LT',
5432 nextDay: '[I morgon klokka] LT',
5433 nextWeek: 'dddd [klokka] LT',
5434 lastDay: '[I går klokka] LT',
5435 lastWeek: '[Føregåande] dddd [klokka] LT',
5453 ordinalParse: /\d{1,2}\./,
5456 dow : 1, // Monday is the first day of the week.
5457 doy : 4 // The week that contains Jan 4th is the first week of the year.
5461 //! moment.js locale configuration
5462 //! locale : punjabi india (pa-in)
5463 //! author : Harpreet Singh : https://github.com/harpreetkhalsagtbit
5465 var pa_in__symbolMap = {
5477 pa_in__numberMap = {
5490 var pa_in = moment.defineLocale('pa-in', {
5491 // There are months name as per Nanakshahi Calender but they are not used as rigidly in modern Punjabi.
5492 months : 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split('_'),
5493 monthsShort : 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split('_'),
5494 weekdays : 'ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ'.split('_'),
5495 weekdaysShort : 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),
5496 weekdaysMin : 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),
5499 LTS : 'A h:mm:ss ਵਜੇ',
5502 LLL : 'D MMMM YYYY, A h:mm ਵਜੇ',
5503 LLLL : 'dddd, D MMMM YYYY, A h:mm ਵਜੇ'
5506 sameDay : '[ਅਜ] LT',
5507 nextDay : '[ਕਲ] LT',
5508 nextWeek : 'dddd, LT',
5509 lastDay : '[ਕਲ] LT',
5510 lastWeek : '[ਪਿਛਲੇ] dddd, LT',
5528 preparse: function (string) {
5529 return string.replace(/[੧੨੩੪੫੬੭੮੯੦]/g, function (match) {
5530 return pa_in__numberMap[match];
5533 postformat: function (string) {
5534 return string.replace(/\d/g, function (match) {
5535 return pa_in__symbolMap[match];
5538 // Punjabi notation for meridiems are quite fuzzy in practice. While there exists
5539 // a rigid notion of a 'Pahar' it is not used as rigidly in modern Punjabi.
5540 meridiemParse: /ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,
5541 meridiemHour : function (hour, meridiem) {
5545 if (meridiem === 'ਰਾਤ') {
5546 return hour < 4 ? hour : hour + 12;
5547 } else if (meridiem === 'ਸਵੇਰ') {
5549 } else if (meridiem === 'ਦੁਪਹਿਰ') {
5550 return hour >= 10 ? hour : hour + 12;
5551 } else if (meridiem === 'ਸ਼ਾਮ') {
5555 meridiem : function (hour, minute, isLower) {
5558 } else if (hour < 10) {
5560 } else if (hour < 17) {
5562 } else if (hour < 20) {
5569 dow : 0, // Sunday is the first day of the week.
5570 doy : 6 // The week that contains Jan 1st is the first week of the year.
5574 //! moment.js locale configuration
5575 //! locale : polish (pl)
5576 //! author : Rafal Hirsz : https://github.com/evoL
5578 var monthsNominative = 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split('_'),
5579 monthsSubjective = 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split('_');
5580 function pl__plural(n) {
5581 return (n % 10 < 5) && (n % 10 > 1) && ((~~(n / 10) % 10) !== 1);
5583 function pl__translate(number, withoutSuffix, key) {
5584 var result = number + ' ';
5587 return withoutSuffix ? 'minuta' : 'minutę';
5589 return result + (pl__plural(number) ? 'minuty' : 'minut');
5591 return withoutSuffix ? 'godzina' : 'godzinę';
5593 return result + (pl__plural(number) ? 'godziny' : 'godzin');
5595 return result + (pl__plural(number) ? 'miesiące' : 'miesięcy');
5597 return result + (pl__plural(number) ? 'lata' : 'lat');
5601 var pl = moment.defineLocale('pl', {
5602 months : function (momentToFormat, format) {
5603 if (format === '') {
5604 // Hack: if format empty we know this is used to generate
5605 // RegExp by moment. Give then back both valid forms of months
5606 // in RegExp ready format.
5607 return '(' + monthsSubjective[momentToFormat.month()] + '|' + monthsNominative[momentToFormat.month()] + ')';
5608 } else if (/D MMMM/.test(format)) {
5609 return monthsSubjective[momentToFormat.month()];
5611 return monthsNominative[momentToFormat.month()];
5614 monthsShort : 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'),
5615 weekdays : 'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split('_'),
5616 weekdaysShort : 'nie_pon_wt_śr_czw_pt_sb'.split('_'),
5617 weekdaysMin : 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'),
5623 LLL : 'D MMMM YYYY HH:mm',
5624 LLLL : 'dddd, D MMMM YYYY HH:mm'
5627 sameDay: '[Dziś o] LT',
5628 nextDay: '[Jutro o] LT',
5629 nextWeek: '[W] dddd [o] LT',
5630 lastDay: '[Wczoraj o] LT',
5631 lastWeek: function () {
5632 switch (this.day()) {
5634 return '[W zeszłą niedzielę o] LT';
5636 return '[W zeszłą środę o] LT';
5638 return '[W zeszłą sobotę o] LT';
5640 return '[W zeszły] dddd [o] LT';
5660 ordinalParse: /\d{1,2}\./,
5663 dow : 1, // Monday is the first day of the week.
5664 doy : 4 // The week that contains Jan 4th is the first week of the year.
5668 //! moment.js locale configuration
5669 //! locale : brazilian portuguese (pt-br)
5670 //! author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira
5672 var pt_br = moment.defineLocale('pt-br', {
5673 months : 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'),
5674 monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),
5675 weekdays : 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split('_'),
5676 weekdaysShort : 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),
5677 weekdaysMin : 'Dom_2ª_3ª_4ª_5ª_6ª_Sáb'.split('_'),
5678 weekdaysParseExact : true,
5683 LL : 'D [de] MMMM [de] YYYY',
5684 LLL : 'D [de] MMMM [de] YYYY [às] HH:mm',
5685 LLLL : 'dddd, D [de] MMMM [de] YYYY [às] HH:mm'
5688 sameDay: '[Hoje às] LT',
5689 nextDay: '[Amanhã às] LT',
5690 nextWeek: 'dddd [às] LT',
5691 lastDay: '[Ontem às] LT',
5692 lastWeek: function () {
5693 return (this.day() === 0 || this.day() === 6) ?
5694 '[Último] dddd [às] LT' : // Saturday + Sunday
5695 '[Última] dddd [às] LT'; // Monday - Friday
5702 s : 'poucos segundos',
5714 ordinalParse: /\d{1,2}º/,
5718 //! moment.js locale configuration
5719 //! locale : portuguese (pt)
5720 //! author : Jefferson : https://github.com/jalex79
5722 var pt = moment.defineLocale('pt', {
5723 months : 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'),
5724 monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),
5725 weekdays : 'Domingo_Segunda-Feira_Terça-Feira_Quarta-Feira_Quinta-Feira_Sexta-Feira_Sábado'.split('_'),
5726 weekdaysShort : 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),
5727 weekdaysMin : 'Dom_2ª_3ª_4ª_5ª_6ª_Sáb'.split('_'),
5728 weekdaysParseExact : true,
5733 LL : 'D [de] MMMM [de] YYYY',
5734 LLL : 'D [de] MMMM [de] YYYY HH:mm',
5735 LLLL : 'dddd, D [de] MMMM [de] YYYY HH:mm'
5738 sameDay: '[Hoje às] LT',
5739 nextDay: '[Amanhã às] LT',
5740 nextWeek: 'dddd [às] LT',
5741 lastDay: '[Ontem às] LT',
5742 lastWeek: function () {
5743 return (this.day() === 0 || this.day() === 6) ?
5744 '[Último] dddd [às] LT' : // Saturday + Sunday
5745 '[Última] dddd [às] LT'; // Monday - Friday
5764 ordinalParse: /\d{1,2}º/,
5767 dow : 1, // Monday is the first day of the week.
5768 doy : 4 // The week that contains Jan 4th is the first week of the year.
5772 //! moment.js locale configuration
5773 //! locale : romanian (ro)
5774 //! author : Vlad Gurdiga : https://github.com/gurdiga
5775 //! author : Valentin Agachi : https://github.com/avaly
5777 function ro__relativeTimeWithPlural(number, withoutSuffix, key) {
5786 if (number % 100 >= 20 || (number >= 100 && number % 100 === 0)) {
5789 return number + separator + format[key];
5792 var ro = moment.defineLocale('ro', {
5793 months : 'ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie'.split('_'),
5794 monthsShort : 'ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.'.split('_'),
5795 monthsParseExact: true,
5796 weekdays : 'duminică_luni_marți_miercuri_joi_vineri_sâmbătă'.split('_'),
5797 weekdaysShort : 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'),
5798 weekdaysMin : 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'),
5804 LLL : 'D MMMM YYYY H:mm',
5805 LLLL : 'dddd, D MMMM YYYY H:mm'
5808 sameDay: '[azi la] LT',
5809 nextDay: '[mâine la] LT',
5810 nextWeek: 'dddd [la] LT',
5811 lastDay: '[ieri la] LT',
5812 lastWeek: '[fosta] dddd [la] LT',
5816 future : 'peste %s',
5817 past : '%s în urmă',
5818 s : 'câteva secunde',
5820 mm : ro__relativeTimeWithPlural,
5822 hh : ro__relativeTimeWithPlural,
5824 dd : ro__relativeTimeWithPlural,
5826 MM : ro__relativeTimeWithPlural,
5828 yy : ro__relativeTimeWithPlural
5831 dow : 1, // Monday is the first day of the week.
5832 doy : 7 // The week that contains Jan 1st is the first week of the year.
5836 //! moment.js locale configuration
5837 //! locale : russian (ru)
5838 //! author : Viktorminator : https://github.com/Viktorminator
5839 //! Author : Menelion Elensúle : https://github.com/Oire
5840 //! author : Коренберг Марк : https://github.com/socketpair
5842 function ru__plural(word, num) {
5843 var forms = word.split('_');
5844 return num % 10 === 1 && num % 100 !== 11 ? forms[0] : (num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2]);
5846 function ru__relativeTimeWithPlural(number, withoutSuffix, key) {
5848 'mm': withoutSuffix ? 'минута_минуты_минут' : 'минуту_минуты_минут',
5849 'hh': 'час_часа_часов',
5850 'dd': 'день_дня_дней',
5851 'MM': 'месяц_месяца_месяцев',
5852 'yy': 'год_года_лет'
5855 return withoutSuffix ? 'минута' : 'минуту';
5858 return number + ' ' + ru__plural(format[key], +number);
5861 var monthsParse = [/^янв/i, /^фев/i, /^мар/i, /^апр/i, /^ма[йя]/i, /^июн/i, /^июл/i, /^авг/i, /^сен/i, /^окт/i, /^ноя/i, /^дек/i];
5863 // http://new.gramota.ru/spravka/rules/139-prop : § 103
5864 // Сокращения месяцев: http://new.gramota.ru/spravka/buro/search-answer?s=242637
5865 // CLDR data: http://www.unicode.org/cldr/charts/28/summary/ru.html#1753
5866 var ru = moment.defineLocale('ru', {
5868 format: 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split('_'),
5869 standalone: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split('_')
5872 // по CLDR именно "июл." и "июн.", но какой смысл менять букву на точку ?
5873 format: 'янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.'.split('_'),
5874 standalone: 'янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.'.split('_')
5877 standalone: 'воскресенье_понедельник_вторник_среда_четверг_пятница_суббота'.split('_'),
5878 format: 'воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу'.split('_'),
5879 isFormat: /\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/
5881 weekdaysShort : 'вс_пн_вт_ср_чт_пт_сб'.split('_'),
5882 weekdaysMin : 'вс_пн_вт_ср_чт_пт_сб'.split('_'),
5883 monthsParse : monthsParse,
5884 longMonthsParse : monthsParse,
5885 shortMonthsParse : monthsParse,
5886 monthsRegex: /^(сентябр[яь]|октябр[яь]|декабр[яь]|феврал[яь]|январ[яь]|апрел[яь]|августа?|ноябр[яь]|сент\.|февр\.|нояб\.|июнь|янв.|июль|дек.|авг.|апр.|марта|мар[.т]|окт.|июн[яь]|июл[яь]|ма[яй])/i,
5887 monthsShortRegex: /^(сентябр[яь]|октябр[яь]|декабр[яь]|феврал[яь]|январ[яь]|апрел[яь]|августа?|ноябр[яь]|сент\.|февр\.|нояб\.|июнь|янв.|июль|дек.|авг.|апр.|марта|мар[.т]|окт.|июн[яь]|июл[яь]|ма[яй])/i,
5888 monthsStrictRegex: /^(сентябр[яь]|октябр[яь]|декабр[яь]|феврал[яь]|январ[яь]|апрел[яь]|августа?|ноябр[яь]|марта?|июн[яь]|июл[яь]|ма[яй])/i,
5889 monthsShortStrictRegex: /^(нояб\.|февр\.|сент\.|июль|янв\.|июн[яь]|мар[.т]|авг\.|апр\.|окт\.|дек\.|ма[яй])/i,
5894 LL : 'D MMMM YYYY г.',
5895 LLL : 'D MMMM YYYY г., HH:mm',
5896 LLLL : 'dddd, D MMMM YYYY г., HH:mm'
5899 sameDay: '[Сегодня в] LT',
5900 nextDay: '[Завтра в] LT',
5901 lastDay: '[Вчера в] LT',
5902 nextWeek: function (now) {
5903 if (now.week() !== this.week()) {
5904 switch (this.day()) {
5906 return '[В следующее] dddd [в] LT';
5910 return '[В следующий] dddd [в] LT';
5914 return '[В следующую] dddd [в] LT';
5917 if (this.day() === 2) {
5918 return '[Во] dddd [в] LT';
5920 return '[В] dddd [в] LT';
5924 lastWeek: function (now) {
5925 if (now.week() !== this.week()) {
5926 switch (this.day()) {
5928 return '[В прошлое] dddd [в] LT';
5932 return '[В прошлый] dddd [в] LT';
5936 return '[В прошлую] dddd [в] LT';
5939 if (this.day() === 2) {
5940 return '[Во] dddd [в] LT';
5942 return '[В] dddd [в] LT';
5949 future : 'через %s',
5951 s : 'несколько секунд',
5952 m : ru__relativeTimeWithPlural,
5953 mm : ru__relativeTimeWithPlural,
5955 hh : ru__relativeTimeWithPlural,
5957 dd : ru__relativeTimeWithPlural,
5959 MM : ru__relativeTimeWithPlural,
5961 yy : ru__relativeTimeWithPlural
5963 meridiemParse: /ночи|утра|дня|вечера/i,
5964 isPM : function (input) {
5965 return /^(дня|вечера)$/.test(input);
5967 meridiem : function (hour, minute, isLower) {
5970 } else if (hour < 12) {
5972 } else if (hour < 17) {
5978 ordinalParse: /\d{1,2}-(й|го|я)/,
5979 ordinal: function (number, period) {
5984 return number + '-й';
5986 return number + '-го';
5989 return number + '-я';
5995 dow : 1, // Monday is the first day of the week.
5996 doy : 7 // The week that contains Jan 1st is the first week of the year.
6000 //! moment.js locale configuration
6001 //! locale : Northern Sami (se)
6002 //! authors : Bård Rolstad Henriksen : https://github.com/karamell
6005 var se = moment.defineLocale('se', {
6006 months : 'ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu'.split('_'),
6007 monthsShort : 'ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov'.split('_'),
6008 weekdays : 'sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split('_'),
6009 weekdaysShort : 'sotn_vuos_maŋ_gask_duor_bear_láv'.split('_'),
6010 weekdaysMin : 's_v_m_g_d_b_L'.split('_'),
6015 LL : 'MMMM D. [b.] YYYY',
6016 LLL : 'MMMM D. [b.] YYYY [ti.] HH:mm',
6017 LLLL : 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm'
6020 sameDay: '[otne ti] LT',
6021 nextDay: '[ihttin ti] LT',
6022 nextWeek: 'dddd [ti] LT',
6023 lastDay: '[ikte ti] LT',
6024 lastWeek: '[ovddit] dddd [ti] LT',
6028 future : '%s geažes',
6030 s : 'moadde sekunddat',
6042 ordinalParse: /\d{1,2}\./,
6045 dow : 1, // Monday is the first day of the week.
6046 doy : 4 // The week that contains Jan 4th is the first week of the year.
6050 //! moment.js locale configuration
6051 //! locale : Sinhalese (si)
6052 //! author : Sampath Sitinamaluwa : https://github.com/sampathsris
6055 var si = moment.defineLocale('si', {
6056 months : 'ජනවාරි_පෙබරවාරි_මාර්තු_අප්රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්'.split('_'),
6057 monthsShort : 'ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ'.split('_'),
6058 weekdays : 'ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා'.split('_'),
6059 weekdaysShort : 'ඉරි_සඳු_අඟ_බදා_බ්රහ_සිකු_සෙන'.split('_'),
6060 weekdaysMin : 'ඉ_ස_අ_බ_බ්ර_සි_සෙ'.split('_'),
6061 weekdaysParseExact : true,
6067 LLL : 'YYYY MMMM D, a h:mm',
6068 LLLL : 'YYYY MMMM D [වැනි] dddd, a h:mm:ss'
6071 sameDay : '[අද] LT[ට]',
6072 nextDay : '[හෙට] LT[ට]',
6073 nextWeek : 'dddd LT[ට]',
6074 lastDay : '[ඊයේ] LT[ට]',
6075 lastWeek : '[පසුගිය] dddd LT[ට]',
6093 ordinalParse: /\d{1,2} වැනි/,
6094 ordinal : function (number) {
6095 return number + ' වැනි';
6097 meridiemParse : /පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,
6098 isPM : function (input) {
6099 return input === 'ප.ව.' || input === 'පස් වරු';
6101 meridiem : function (hours, minutes, isLower) {
6103 return isLower ? 'ප.ව.' : 'පස් වරු';
6105 return isLower ? 'පෙ.ව.' : 'පෙර වරු';
6110 //! moment.js locale configuration
6111 //! locale : slovak (sk)
6112 //! author : Martin Minka : https://github.com/k2s
6113 //! based on work of petrbela : https://github.com/petrbela
6115 var sk__months = 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split('_'),
6116 sk__monthsShort = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_');
6117 function sk__plural(n) {
6118 return (n > 1) && (n < 5);
6120 function sk__translate(number, withoutSuffix, key, isFuture) {
6121 var result = number + ' ';
6123 case 's': // a few seconds / in a few seconds / a few seconds ago
6124 return (withoutSuffix || isFuture) ? 'pár sekúnd' : 'pár sekundami';
6125 case 'm': // a minute / in a minute / a minute ago
6126 return withoutSuffix ? 'minúta' : (isFuture ? 'minútu' : 'minútou');
6127 case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago
6128 if (withoutSuffix || isFuture) {
6129 return result + (sk__plural(number) ? 'minúty' : 'minút');
6131 return result + 'minútami';
6134 case 'h': // an hour / in an hour / an hour ago
6135 return withoutSuffix ? 'hodina' : (isFuture ? 'hodinu' : 'hodinou');
6136 case 'hh': // 9 hours / in 9 hours / 9 hours ago
6137 if (withoutSuffix || isFuture) {
6138 return result + (sk__plural(number) ? 'hodiny' : 'hodín');
6140 return result + 'hodinami';
6143 case 'd': // a day / in a day / a day ago
6144 return (withoutSuffix || isFuture) ? 'deň' : 'dňom';
6145 case 'dd': // 9 days / in 9 days / 9 days ago
6146 if (withoutSuffix || isFuture) {
6147 return result + (sk__plural(number) ? 'dni' : 'dní');
6149 return result + 'dňami';
6152 case 'M': // a month / in a month / a month ago
6153 return (withoutSuffix || isFuture) ? 'mesiac' : 'mesiacom';
6154 case 'MM': // 9 months / in 9 months / 9 months ago
6155 if (withoutSuffix || isFuture) {
6156 return result + (sk__plural(number) ? 'mesiace' : 'mesiacov');
6158 return result + 'mesiacmi';
6161 case 'y': // a year / in a year / a year ago
6162 return (withoutSuffix || isFuture) ? 'rok' : 'rokom';
6163 case 'yy': // 9 years / in 9 years / 9 years ago
6164 if (withoutSuffix || isFuture) {
6165 return result + (sk__plural(number) ? 'roky' : 'rokov');
6167 return result + 'rokmi';
6173 var sk = moment.defineLocale('sk', {
6174 months : sk__months,
6175 monthsShort : sk__monthsShort,
6176 weekdays : 'nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota'.split('_'),
6177 weekdaysShort : 'ne_po_ut_st_št_pi_so'.split('_'),
6178 weekdaysMin : 'ne_po_ut_st_št_pi_so'.split('_'),
6183 LL : 'D. MMMM YYYY',
6184 LLL : 'D. MMMM YYYY H:mm',
6185 LLLL : 'dddd D. MMMM YYYY H:mm'
6188 sameDay: '[dnes o] LT',
6189 nextDay: '[zajtra o] LT',
6190 nextWeek: function () {
6191 switch (this.day()) {
6193 return '[v nedeľu o] LT';
6196 return '[v] dddd [o] LT';
6198 return '[v stredu o] LT';
6200 return '[vo štvrtok o] LT';
6202 return '[v piatok o] LT';
6204 return '[v sobotu o] LT';
6207 lastDay: '[včera o] LT',
6208 lastWeek: function () {
6209 switch (this.day()) {
6211 return '[minulú nedeľu o] LT';
6214 return '[minulý] dddd [o] LT';
6216 return '[minulú stredu o] LT';
6219 return '[minulý] dddd [o] LT';
6221 return '[minulú sobotu o] LT';
6241 ordinalParse: /\d{1,2}\./,
6244 dow : 1, // Monday is the first day of the week.
6245 doy : 4 // The week that contains Jan 4th is the first week of the year.
6249 //! moment.js locale configuration
6250 //! locale : slovenian (sl)
6251 //! author : Robert Sedovšek : https://github.com/sedovsek
6253 function sl__processRelativeTime(number, withoutSuffix, key, isFuture) {
6254 var result = number + ' ';
6257 return withoutSuffix || isFuture ? 'nekaj sekund' : 'nekaj sekundami';
6259 return withoutSuffix ? 'ena minuta' : 'eno minuto';
6262 result += withoutSuffix ? 'minuta' : 'minuto';
6263 } else if (number === 2) {
6264 result += withoutSuffix || isFuture ? 'minuti' : 'minutama';
6265 } else if (number < 5) {
6266 result += withoutSuffix || isFuture ? 'minute' : 'minutami';
6268 result += withoutSuffix || isFuture ? 'minut' : 'minutami';
6272 return withoutSuffix ? 'ena ura' : 'eno uro';
6275 result += withoutSuffix ? 'ura' : 'uro';
6276 } else if (number === 2) {
6277 result += withoutSuffix || isFuture ? 'uri' : 'urama';
6278 } else if (number < 5) {
6279 result += withoutSuffix || isFuture ? 'ure' : 'urami';
6281 result += withoutSuffix || isFuture ? 'ur' : 'urami';
6285 return withoutSuffix || isFuture ? 'en dan' : 'enim dnem';
6288 result += withoutSuffix || isFuture ? 'dan' : 'dnem';
6289 } else if (number === 2) {
6290 result += withoutSuffix || isFuture ? 'dni' : 'dnevoma';
6292 result += withoutSuffix || isFuture ? 'dni' : 'dnevi';
6296 return withoutSuffix || isFuture ? 'en mesec' : 'enim mesecem';
6299 result += withoutSuffix || isFuture ? 'mesec' : 'mesecem';
6300 } else if (number === 2) {
6301 result += withoutSuffix || isFuture ? 'meseca' : 'mesecema';
6302 } else if (number < 5) {
6303 result += withoutSuffix || isFuture ? 'mesece' : 'meseci';
6305 result += withoutSuffix || isFuture ? 'mesecev' : 'meseci';
6309 return withoutSuffix || isFuture ? 'eno leto' : 'enim letom';
6312 result += withoutSuffix || isFuture ? 'leto' : 'letom';
6313 } else if (number === 2) {
6314 result += withoutSuffix || isFuture ? 'leti' : 'letoma';
6315 } else if (number < 5) {
6316 result += withoutSuffix || isFuture ? 'leta' : 'leti';
6318 result += withoutSuffix || isFuture ? 'let' : 'leti';
6324 var sl = moment.defineLocale('sl', {
6325 months : 'januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december'.split('_'),
6326 monthsShort : 'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split('_'),
6327 monthsParseExact: true,
6328 weekdays : 'nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota'.split('_'),
6329 weekdaysShort : 'ned._pon._tor._sre._čet._pet._sob.'.split('_'),
6330 weekdaysMin : 'ne_po_to_sr_če_pe_so'.split('_'),
6331 weekdaysParseExact : true,
6336 LL : 'D. MMMM YYYY',
6337 LLL : 'D. MMMM YYYY H:mm',
6338 LLLL : 'dddd, D. MMMM YYYY H:mm'
6341 sameDay : '[danes ob] LT',
6342 nextDay : '[jutri ob] LT',
6344 nextWeek : function () {
6345 switch (this.day()) {
6347 return '[v] [nedeljo] [ob] LT';
6349 return '[v] [sredo] [ob] LT';
6351 return '[v] [soboto] [ob] LT';
6356 return '[v] dddd [ob] LT';
6359 lastDay : '[včeraj ob] LT',
6360 lastWeek : function () {
6361 switch (this.day()) {
6363 return '[prejšnjo] [nedeljo] [ob] LT';
6365 return '[prejšnjo] [sredo] [ob] LT';
6367 return '[prejšnjo] [soboto] [ob] LT';
6372 return '[prejšnji] dddd [ob] LT';
6380 s : sl__processRelativeTime,
6381 m : sl__processRelativeTime,
6382 mm : sl__processRelativeTime,
6383 h : sl__processRelativeTime,
6384 hh : sl__processRelativeTime,
6385 d : sl__processRelativeTime,
6386 dd : sl__processRelativeTime,
6387 M : sl__processRelativeTime,
6388 MM : sl__processRelativeTime,
6389 y : sl__processRelativeTime,
6390 yy : sl__processRelativeTime
6392 ordinalParse: /\d{1,2}\./,
6395 dow : 1, // Monday is the first day of the week.
6396 doy : 7 // The week that contains Jan 1st is the first week of the year.
6400 //! moment.js locale configuration
6401 //! locale : Albanian (sq)
6402 //! author : Flakërim Ismani : https://github.com/flakerimi
6403 //! author: Menelion Elensúle: https://github.com/Oire (tests)
6404 //! author : Oerd Cukalla : https://github.com/oerd (fixes)
6406 var sq = moment.defineLocale('sq', {
6407 months : 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split('_'),
6408 monthsShort : 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'),
6409 weekdays : 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split('_'),
6410 weekdaysShort : 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'),
6411 weekdaysMin : 'D_H_Ma_Më_E_P_Sh'.split('_'),
6412 weekdaysParseExact : true,
6413 meridiemParse: /PD|MD/,
6414 isPM: function (input) {
6415 return input.charAt(0) === 'M';
6417 meridiem : function (hours, minutes, isLower) {
6418 return hours < 12 ? 'PD' : 'MD';
6425 LLL : 'D MMMM YYYY HH:mm',
6426 LLLL : 'dddd, D MMMM YYYY HH:mm'
6429 sameDay : '[Sot në] LT',
6430 nextDay : '[Nesër në] LT',
6431 nextWeek : 'dddd [në] LT',
6432 lastDay : '[Dje në] LT',
6433 lastWeek : 'dddd [e kaluar në] LT',
6438 past : '%s më parë',
6451 ordinalParse: /\d{1,2}\./,
6454 dow : 1, // Monday is the first day of the week.
6455 doy : 4 // The week that contains Jan 4th is the first week of the year.
6459 //! moment.js locale configuration
6460 //! locale : Serbian-cyrillic (sr-cyrl)
6461 //! author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j
6463 var sr_cyrl__translator = {
6464 words: { //Different grammatical cases
6465 m: ['један минут', 'једне минуте'],
6466 mm: ['минут', 'минуте', 'минута'],
6467 h: ['један сат', 'једног сата'],
6468 hh: ['сат', 'сата', 'сати'],
6469 dd: ['дан', 'дана', 'дана'],
6470 MM: ['месец', 'месеца', 'месеци'],
6471 yy: ['година', 'године', 'година']
6473 correctGrammaticalCase: function (number, wordKey) {
6474 return number === 1 ? wordKey[0] : (number >= 2 && number <= 4 ? wordKey[1] : wordKey[2]);
6476 translate: function (number, withoutSuffix, key) {
6477 var wordKey = sr_cyrl__translator.words[key];
6478 if (key.length === 1) {
6479 return withoutSuffix ? wordKey[0] : wordKey[1];
6481 return number + ' ' + sr_cyrl__translator.correctGrammaticalCase(number, wordKey);
6486 var sr_cyrl = moment.defineLocale('sr-cyrl', {
6487 months: 'јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар'.split('_'),
6488 monthsShort: 'јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.'.split('_'),
6489 monthsParseExact: true,
6490 weekdays: 'недеља_понедељак_уторак_среда_четвртак_петак_субота'.split('_'),
6491 weekdaysShort: 'нед._пон._уто._сре._чет._пет._суб.'.split('_'),
6492 weekdaysMin: 'не_по_ут_ср_че_пе_су'.split('_'),
6493 weekdaysParseExact : true,
6499 LLL: 'D. MMMM YYYY H:mm',
6500 LLLL: 'dddd, D. MMMM YYYY H:mm'
6503 sameDay: '[данас у] LT',
6504 nextDay: '[сутра у] LT',
6505 nextWeek: function () {
6506 switch (this.day()) {
6508 return '[у] [недељу] [у] LT';
6510 return '[у] [среду] [у] LT';
6512 return '[у] [суботу] [у] LT';
6517 return '[у] dddd [у] LT';
6520 lastDay : '[јуче у] LT',
6521 lastWeek : function () {
6522 var lastWeekDays = [
6523 '[прошле] [недеље] [у] LT',
6524 '[прошлог] [понедељка] [у] LT',
6525 '[прошлог] [уторка] [у] LT',
6526 '[прошле] [среде] [у] LT',
6527 '[прошлог] [четвртка] [у] LT',
6528 '[прошлог] [петка] [у] LT',
6529 '[прошле] [суботе] [у] LT'
6531 return lastWeekDays[this.day()];
6538 s : 'неколико секунди',
6539 m : sr_cyrl__translator.translate,
6540 mm : sr_cyrl__translator.translate,
6541 h : sr_cyrl__translator.translate,
6542 hh : sr_cyrl__translator.translate,
6544 dd : sr_cyrl__translator.translate,
6546 MM : sr_cyrl__translator.translate,
6548 yy : sr_cyrl__translator.translate
6550 ordinalParse: /\d{1,2}\./,
6553 dow : 1, // Monday is the first day of the week.
6554 doy : 7 // The week that contains Jan 1st is the first week of the year.
6558 //! moment.js locale configuration
6559 //! locale : Serbian-latin (sr)
6560 //! author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j
6562 var sr__translator = {
6563 words: { //Different grammatical cases
6564 m: ['jedan minut', 'jedne minute'],
6565 mm: ['minut', 'minute', 'minuta'],
6566 h: ['jedan sat', 'jednog sata'],
6567 hh: ['sat', 'sata', 'sati'],
6568 dd: ['dan', 'dana', 'dana'],
6569 MM: ['mesec', 'meseca', 'meseci'],
6570 yy: ['godina', 'godine', 'godina']
6572 correctGrammaticalCase: function (number, wordKey) {
6573 return number === 1 ? wordKey[0] : (number >= 2 && number <= 4 ? wordKey[1] : wordKey[2]);
6575 translate: function (number, withoutSuffix, key) {
6576 var wordKey = sr__translator.words[key];
6577 if (key.length === 1) {
6578 return withoutSuffix ? wordKey[0] : wordKey[1];
6580 return number + ' ' + sr__translator.correctGrammaticalCase(number, wordKey);
6585 var sr = moment.defineLocale('sr', {
6586 months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split('_'),
6587 monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'),
6588 monthsParseExact: true,
6589 weekdays: 'nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota'.split('_'),
6590 weekdaysShort: 'ned._pon._uto._sre._čet._pet._sub.'.split('_'),
6591 weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
6592 weekdaysParseExact : true,
6598 LLL: 'D. MMMM YYYY H:mm',
6599 LLLL: 'dddd, D. MMMM YYYY H:mm'
6602 sameDay: '[danas u] LT',
6603 nextDay: '[sutra u] LT',
6604 nextWeek: function () {
6605 switch (this.day()) {
6607 return '[u] [nedelju] [u] LT';
6609 return '[u] [sredu] [u] LT';
6611 return '[u] [subotu] [u] LT';
6616 return '[u] dddd [u] LT';
6619 lastDay : '[juče u] LT',
6620 lastWeek : function () {
6621 var lastWeekDays = [
6622 '[prošle] [nedelje] [u] LT',
6623 '[prošlog] [ponedeljka] [u] LT',
6624 '[prošlog] [utorka] [u] LT',
6625 '[prošle] [srede] [u] LT',
6626 '[prošlog] [četvrtka] [u] LT',
6627 '[prošlog] [petka] [u] LT',
6628 '[prošle] [subote] [u] LT'
6630 return lastWeekDays[this.day()];
6637 s : 'nekoliko sekundi',
6638 m : sr__translator.translate,
6639 mm : sr__translator.translate,
6640 h : sr__translator.translate,
6641 hh : sr__translator.translate,
6643 dd : sr__translator.translate,
6645 MM : sr__translator.translate,
6647 yy : sr__translator.translate
6649 ordinalParse: /\d{1,2}\./,
6652 dow : 1, // Monday is the first day of the week.
6653 doy : 7 // The week that contains Jan 1st is the first week of the year.
6657 //! moment.js locale configuration
6658 //! locale : siSwati (ss)
6659 //! author : Nicolai Davies<mail@nicolai.io> : https://github.com/nicolaidavies
6662 var ss = moment.defineLocale('ss', {
6663 months : "Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split('_'),
6664 monthsShort : 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'),
6665 weekdays : 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split('_'),
6666 weekdaysShort : 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'),
6667 weekdaysMin : 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'),
6668 weekdaysParseExact : true,
6674 LLL : 'D MMMM YYYY h:mm A',
6675 LLLL : 'dddd, D MMMM YYYY h:mm A'
6678 sameDay : '[Namuhla nga] LT',
6679 nextDay : '[Kusasa nga] LT',
6680 nextWeek : 'dddd [nga] LT',
6681 lastDay : '[Itolo nga] LT',
6682 lastWeek : 'dddd [leliphelile] [nga] LT',
6687 past : 'wenteka nga %s',
6688 s : 'emizuzwana lomcane',
6700 meridiemParse: /ekuseni|emini|entsambama|ebusuku/,
6701 meridiem : function (hours, minutes, isLower) {
6704 } else if (hours < 15) {
6706 } else if (hours < 19) {
6707 return 'entsambama';
6712 meridiemHour : function (hour, meridiem) {
6716 if (meridiem === 'ekuseni') {
6718 } else if (meridiem === 'emini') {
6719 return hour >= 11 ? hour : hour + 12;
6720 } else if (meridiem === 'entsambama' || meridiem === 'ebusuku') {
6727 ordinalParse: /\d{1,2}/,
6730 dow : 1, // Monday is the first day of the week.
6731 doy : 4 // The week that contains Jan 4th is the first week of the year.
6735 //! moment.js locale configuration
6736 //! locale : swedish (sv)
6737 //! author : Jens Alm : https://github.com/ulmus
6739 var sv = moment.defineLocale('sv', {
6740 months : 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split('_'),
6741 monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
6742 weekdays : 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'),
6743 weekdaysShort : 'sön_mån_tis_ons_tor_fre_lör'.split('_'),
6744 weekdaysMin : 'sö_må_ti_on_to_fr_lö'.split('_'),
6750 LLL : 'D MMMM YYYY [kl.] HH:mm',
6751 LLLL : 'dddd D MMMM YYYY [kl.] HH:mm',
6752 lll : 'D MMM YYYY HH:mm',
6753 llll : 'ddd D MMM YYYY HH:mm'
6756 sameDay: '[Idag] LT',
6757 nextDay: '[Imorgon] LT',
6758 lastDay: '[Igår] LT',
6759 nextWeek: '[På] dddd LT',
6760 lastWeek: '[I] dddd[s] LT',
6765 past : 'för %s sedan',
6766 s : 'några sekunder',
6778 ordinalParse: /\d{1,2}(e|a)/,
6779 ordinal : function (number) {
6780 var b = number % 10,
6781 output = (~~(number % 100 / 10) === 1) ? 'e' :
6784 (b === 3) ? 'e' : 'e';
6785 return number + output;
6788 dow : 1, // Monday is the first day of the week.
6789 doy : 4 // The week that contains Jan 4th is the first week of the year.
6793 //! moment.js locale configuration
6794 //! locale : swahili (sw)
6795 //! author : Fahad Kassim : https://github.com/fadsel
6797 var sw = moment.defineLocale('sw', {
6798 months : 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split('_'),
6799 monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'),
6800 weekdays : 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split('_'),
6801 weekdaysShort : 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'),
6802 weekdaysMin : 'J2_J3_J4_J5_Al_Ij_J1'.split('_'),
6803 weekdaysParseExact : true,
6809 LLL : 'D MMMM YYYY HH:mm',
6810 LLLL : 'dddd, D MMMM YYYY HH:mm'
6813 sameDay : '[leo saa] LT',
6814 nextDay : '[kesho saa] LT',
6815 nextWeek : '[wiki ijayo] dddd [saat] LT',
6816 lastDay : '[jana] LT',
6817 lastWeek : '[wiki iliyopita] dddd [saat] LT',
6821 future : '%s baadaye',
6836 dow : 1, // Monday is the first day of the week.
6837 doy : 7 // The week that contains Jan 1st is the first week of the year.
6841 //! moment.js locale configuration
6842 //! locale : tamil (ta)
6843 //! author : Arjunkumar Krishnamoorthy : https://github.com/tk120404
6845 var ta__symbolMap = {
6856 }, ta__numberMap = {
6869 var ta = moment.defineLocale('ta', {
6870 months : 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split('_'),
6871 monthsShort : 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split('_'),
6872 weekdays : 'ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை'.split('_'),
6873 weekdaysShort : 'ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி'.split('_'),
6874 weekdaysMin : 'ஞா_தி_செ_பு_வி_வெ_ச'.split('_'),
6880 LLL : 'D MMMM YYYY, HH:mm',
6881 LLLL : 'dddd, D MMMM YYYY, HH:mm'
6884 sameDay : '[இன்று] LT',
6885 nextDay : '[நாளை] LT',
6886 nextWeek : 'dddd, LT',
6887 lastDay : '[நேற்று] LT',
6888 lastWeek : '[கடந்த வாரம்] dddd, LT',
6894 s : 'ஒரு சில விநாடிகள்',
6896 mm : '%d நிமிடங்கள்',
6897 h : 'ஒரு மணி நேரம்',
6898 hh : '%d மணி நேரம்',
6906 ordinalParse: /\d{1,2}வது/,
6907 ordinal : function (number) {
6908 return number + 'வது';
6910 preparse: function (string) {
6911 return string.replace(/[௧௨௩௪௫௬௭௮௯௦]/g, function (match) {
6912 return ta__numberMap[match];
6915 postformat: function (string) {
6916 return string.replace(/\d/g, function (match) {
6917 return ta__symbolMap[match];
6920 // refer http://ta.wikipedia.org/s/1er1
6921 meridiemParse: /யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,
6922 meridiem : function (hour, minute, isLower) {
6925 } else if (hour < 6) {
6926 return ' வைகறை'; // வைகறை
6927 } else if (hour < 10) {
6928 return ' காலை'; // காலை
6929 } else if (hour < 14) {
6930 return ' நண்பகல்'; // நண்பகல்
6931 } else if (hour < 18) {
6932 return ' எற்பாடு'; // எற்பாடு
6933 } else if (hour < 22) {
6934 return ' மாலை'; // மாலை
6939 meridiemHour : function (hour, meridiem) {
6943 if (meridiem === 'யாமம்') {
6944 return hour < 2 ? hour : hour + 12;
6945 } else if (meridiem === 'வைகறை' || meridiem === 'காலை') {
6947 } else if (meridiem === 'நண்பகல்') {
6948 return hour >= 10 ? hour : hour + 12;
6954 dow : 0, // Sunday is the first day of the week.
6955 doy : 6 // The week that contains Jan 1st is the first week of the year.
6959 //! moment.js locale configuration
6960 //! locale : telugu (te)
6961 //! author : Krishna Chaitanya Thota : https://github.com/kcthota
6963 var te = moment.defineLocale('te', {
6964 months : 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జూలై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split('_'),
6965 monthsShort : 'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జూలై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split('_'),
6966 monthsParseExact : true,
6967 weekdays : 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split('_'),
6968 weekdaysShort : 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'),
6969 weekdaysMin : 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'),
6975 LLL : 'D MMMM YYYY, A h:mm',
6976 LLLL : 'dddd, D MMMM YYYY, A h:mm'
6979 sameDay : '[నేడు] LT',
6980 nextDay : '[రేపు] LT',
6981 nextWeek : 'dddd, LT',
6982 lastDay : '[నిన్న] LT',
6983 lastWeek : '[గత] dddd, LT',
6989 s : 'కొన్ని క్షణాలు',
6999 yy : '%d సంవత్సరాలు'
7001 ordinalParse : /\d{1,2}వ/,
7003 meridiemParse: /రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,
7004 meridiemHour : function (hour, meridiem) {
7008 if (meridiem === 'రాత్రి') {
7009 return hour < 4 ? hour : hour + 12;
7010 } else if (meridiem === 'ఉదయం') {
7012 } else if (meridiem === 'మధ్యాహ్నం') {
7013 return hour >= 10 ? hour : hour + 12;
7014 } else if (meridiem === 'సాయంత్రం') {
7018 meridiem : function (hour, minute, isLower) {
7021 } else if (hour < 10) {
7023 } else if (hour < 17) {
7025 } else if (hour < 20) {
7032 dow : 0, // Sunday is the first day of the week.
7033 doy : 6 // The week that contains Jan 1st is the first week of the year.
7037 //! moment.js locale configuration
7038 //! locale : thai (th)
7039 //! author : Kridsada Thanabulpong : https://github.com/sirn
7041 var th = moment.defineLocale('th', {
7042 months : 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split('_'),
7043 monthsShort : 'มกรา_กุมภา_มีนา_เมษา_พฤษภา_มิถุนา_กรกฎา_สิงหา_กันยา_ตุลา_พฤศจิกา_ธันวา'.split('_'),
7044 monthsParseExact: true,
7045 weekdays : 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'),
7046 weekdaysShort : 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์'.split('_'), // yes, three characters difference
7047 weekdaysMin : 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'),
7048 weekdaysParseExact : true,
7050 LT : 'H นาฬิกา m นาที',
7051 LTS : 'H นาฬิกา m นาที s วินาที',
7054 LLL : 'D MMMM YYYY เวลา H นาฬิกา m นาที',
7055 LLLL : 'วันddddที่ D MMMM YYYY เวลา H นาฬิกา m นาที'
7057 meridiemParse: /ก่อนเที่ยง|หลังเที่ยง/,
7058 isPM: function (input) {
7059 return input === 'หลังเที่ยง';
7061 meridiem : function (hour, minute, isLower) {
7063 return 'ก่อนเที่ยง';
7065 return 'หลังเที่ยง';
7069 sameDay : '[วันนี้ เวลา] LT',
7070 nextDay : '[พรุ่งนี้ เวลา] LT',
7071 nextWeek : 'dddd[หน้า เวลา] LT',
7072 lastDay : '[เมื่อวานนี้ เวลา] LT',
7073 lastWeek : '[วัน]dddd[ที่แล้ว เวลา] LT',
7093 //! moment.js locale configuration
7094 //! locale : Tagalog/Filipino (tl-ph)
7095 //! author : Dan Hagman
7097 var tl_ph = moment.defineLocale('tl-ph', {
7098 months : 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split('_'),
7099 monthsShort : 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),
7100 weekdays : 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split('_'),
7101 weekdaysShort : 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),
7102 weekdaysMin : 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
7107 LL : 'MMMM D, YYYY',
7108 LLL : 'MMMM D, YYYY HH:mm',
7109 LLLL : 'dddd, MMMM DD, YYYY HH:mm'
7112 sameDay: '[Ngayon sa] LT',
7113 nextDay: '[Bukas sa] LT',
7114 nextWeek: 'dddd [sa] LT',
7115 lastDay: '[Kahapon sa] LT',
7116 lastWeek: 'dddd [huling linggo] LT',
7120 future : 'sa loob ng %s',
7121 past : '%s ang nakalipas',
7122 s : 'ilang segundo',
7134 ordinalParse: /\d{1,2}/,
7135 ordinal : function (number) {
7139 dow : 1, // Monday is the first day of the week.
7140 doy : 4 // The week that contains Jan 4th is the first week of the year.
7144 //! moment.js locale configuration
7145 //! locale : Klingon (tlh)
7146 //! author : Dominika Kruk : https://github.com/amaranthrose
7148 var numbersNouns = 'pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut'.split('_');
7150 function translateFuture(output) {
7152 time = (output.indexOf('jaj') !== -1) ?
7153 time.slice(0, -3) + 'leS' :
7154 (output.indexOf('jar') !== -1) ?
7155 time.slice(0, -3) + 'waQ' :
7156 (output.indexOf('DIS') !== -1) ?
7157 time.slice(0, -3) + 'nem' :
7162 function translatePast(output) {
7164 time = (output.indexOf('jaj') !== -1) ?
7165 time.slice(0, -3) + 'Hu’' :
7166 (output.indexOf('jar') !== -1) ?
7167 time.slice(0, -3) + 'wen' :
7168 (output.indexOf('DIS') !== -1) ?
7169 time.slice(0, -3) + 'ben' :
7174 function tlh__translate(number, withoutSuffix, string, isFuture) {
7175 var numberNoun = numberAsNoun(number);
7178 return numberNoun + ' tup';
7180 return numberNoun + ' rep';
7182 return numberNoun + ' jaj';
7184 return numberNoun + ' jar';
7186 return numberNoun + ' DIS';
7190 function numberAsNoun(number) {
7191 var hundred = Math.floor((number % 1000) / 100),
7192 ten = Math.floor((number % 100) / 10),
7196 word += numbersNouns[hundred] + 'vatlh';
7199 word += ((word !== '') ? ' ' : '') + numbersNouns[ten] + 'maH';
7202 word += ((word !== '') ? ' ' : '') + numbersNouns[one];
7204 return (word === '') ? 'pagh' : word;
7207 var tlh = moment.defineLocale('tlh', {
7208 months : 'tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’'.split('_'),
7209 monthsShort : 'jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’'.split('_'),
7210 monthsParseExact : true,
7211 weekdays : 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
7212 weekdaysShort : 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
7213 weekdaysMin : 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
7219 LLL : 'D MMMM YYYY HH:mm',
7220 LLLL : 'dddd, D MMMM YYYY HH:mm'
7223 sameDay: '[DaHjaj] LT',
7224 nextDay: '[wa’leS] LT',
7226 lastDay: '[wa’Hu’] LT',
7231 future : translateFuture,
7232 past : translatePast,
7235 mm : tlh__translate,
7237 hh : tlh__translate,
7239 dd : tlh__translate,
7241 MM : tlh__translate,
7245 ordinalParse: /\d{1,2}\./,
7248 dow : 1, // Monday is the first day of the week.
7249 doy : 4 // The week that contains Jan 4th is the first week of the year.
7253 //! moment.js locale configuration
7254 //! locale : turkish (tr)
7255 //! authors : Erhan Gundogan : https://github.com/erhangundogan,
7256 //! Burak Yiğit Kaya: https://github.com/BYK
7258 var tr__suffixes = {
7279 var tr = moment.defineLocale('tr', {
7280 months : 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split('_'),
7281 monthsShort : 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'),
7282 weekdays : 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split('_'),
7283 weekdaysShort : 'Paz_Pts_Sal_Çar_Per_Cum_Cts'.split('_'),
7284 weekdaysMin : 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'),
7290 LLL : 'D MMMM YYYY HH:mm',
7291 LLLL : 'dddd, D MMMM YYYY HH:mm'
7294 sameDay : '[bugün saat] LT',
7295 nextDay : '[yarın saat] LT',
7296 nextWeek : '[haftaya] dddd [saat] LT',
7297 lastDay : '[dün] LT',
7298 lastWeek : '[geçen hafta] dddd [saat] LT',
7302 future : '%s sonra',
7304 s : 'birkaç saniye',
7316 ordinalParse: /\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,
7317 ordinal : function (number) {
7318 if (number === 0) { // special case for zero
7319 return number + '\'ıncı';
7321 var a = number % 10,
7322 b = number % 100 - a,
7323 c = number >= 100 ? 100 : null;
7324 return number + (tr__suffixes[a] || tr__suffixes[b] || tr__suffixes[c]);
7327 dow : 1, // Monday is the first day of the week.
7328 doy : 7 // The week that contains Jan 1st is the first week of the year.
7332 //! moment.js locale configuration
7333 //! locale : talossan (tzl)
7334 //! author : Robin van der Vliet : https://github.com/robin0van0der0v with the help of Iustì Canun
7337 // After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals.
7338 // This is currently too difficult (maybe even impossible) to add.
7339 var tzl = moment.defineLocale('tzl', {
7340 months : 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split('_'),
7341 monthsShort : 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'),
7342 weekdays : 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'),
7343 weekdaysShort : 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'),
7344 weekdaysMin : 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'),
7349 LL : 'D. MMMM [dallas] YYYY',
7350 LLL : 'D. MMMM [dallas] YYYY HH.mm',
7351 LLLL : 'dddd, [li] D. MMMM [dallas] YYYY HH.mm'
7353 meridiemParse: /d\'o|d\'a/i,
7354 isPM : function (input) {
7355 return 'd\'o' === input.toLowerCase();
7357 meridiem : function (hours, minutes, isLower) {
7359 return isLower ? 'd\'o' : 'D\'O';
7361 return isLower ? 'd\'a' : 'D\'A';
7365 sameDay : '[oxhi à] LT',
7366 nextDay : '[demà à] LT',
7367 nextWeek : 'dddd [à] LT',
7368 lastDay : '[ieiri à] LT',
7369 lastWeek : '[sür el] dddd [lasteu à] LT',
7373 future : 'osprei %s',
7375 s : tzl__processRelativeTime,
7376 m : tzl__processRelativeTime,
7377 mm : tzl__processRelativeTime,
7378 h : tzl__processRelativeTime,
7379 hh : tzl__processRelativeTime,
7380 d : tzl__processRelativeTime,
7381 dd : tzl__processRelativeTime,
7382 M : tzl__processRelativeTime,
7383 MM : tzl__processRelativeTime,
7384 y : tzl__processRelativeTime,
7385 yy : tzl__processRelativeTime
7387 ordinalParse: /\d{1,2}\./,
7390 dow : 1, // Monday is the first day of the week.
7391 doy : 4 // The week that contains Jan 4th is the first week of the year.
7395 function tzl__processRelativeTime(number, withoutSuffix, key, isFuture) {
7397 's': ['viensas secunds', '\'iensas secunds'],
7398 'm': ['\'n míut', '\'iens míut'],
7399 'mm': [number + ' míuts', '' + number + ' míuts'],
7400 'h': ['\'n þora', '\'iensa þora'],
7401 'hh': [number + ' þoras', '' + number + ' þoras'],
7402 'd': ['\'n ziua', '\'iensa ziua'],
7403 'dd': [number + ' ziuas', '' + number + ' ziuas'],
7404 'M': ['\'n mes', '\'iens mes'],
7405 'MM': [number + ' mesen', '' + number + ' mesen'],
7406 'y': ['\'n ar', '\'iens ar'],
7407 'yy': [number + ' ars', '' + number + ' ars']
7409 return isFuture ? format[key][0] : (withoutSuffix ? format[key][0] : format[key][1]);
7412 //! moment.js locale configuration
7413 //! locale : Morocco Central Atlas Tamaziɣt in Latin (tzm-latn)
7414 //! author : Abdel Said : https://github.com/abdelsaid
7416 var tzm_latn = moment.defineLocale('tzm-latn', {
7417 months : 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split('_'),
7418 monthsShort : 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split('_'),
7419 weekdays : 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
7420 weekdaysShort : 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
7421 weekdaysMin : 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
7427 LLL : 'D MMMM YYYY HH:mm',
7428 LLLL : 'dddd D MMMM YYYY HH:mm'
7431 sameDay: '[asdkh g] LT',
7432 nextDay: '[aska g] LT',
7433 nextWeek: 'dddd [g] LT',
7434 lastDay: '[assant g] LT',
7435 lastWeek: 'dddd [g] LT',
7439 future : 'dadkh s yan %s',
7454 dow : 6, // Saturday is the first day of the week.
7455 doy : 12 // The week that contains Jan 1st is the first week of the year.
7459 //! moment.js locale configuration
7460 //! locale : Morocco Central Atlas Tamaziɣt (tzm)
7461 //! author : Abdel Said : https://github.com/abdelsaid
7463 var tzm = moment.defineLocale('tzm', {
7464 months : 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'),
7465 monthsShort : 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'),
7466 weekdays : 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
7467 weekdaysShort : 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
7468 weekdaysMin : 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
7474 LLL : 'D MMMM YYYY HH:mm',
7475 LLLL : 'dddd D MMMM YYYY HH:mm'
7478 sameDay: '[ⴰⵙⴷⵅ ⴴ] LT',
7479 nextDay: '[ⴰⵙⴽⴰ ⴴ] LT',
7480 nextWeek: 'dddd [ⴴ] LT',
7481 lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT',
7482 lastWeek: 'dddd [ⴴ] LT',
7486 future : 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s',
7501 dow : 6, // Saturday is the first day of the week.
7502 doy : 12 // The week that contains Jan 1st is the first week of the year.
7506 //! moment.js locale configuration
7507 //! locale : ukrainian (uk)
7508 //! author : zemlanin : https://github.com/zemlanin
7509 //! Author : Menelion Elensúle : https://github.com/Oire
7511 function uk__plural(word, num) {
7512 var forms = word.split('_');
7513 return num % 10 === 1 && num % 100 !== 11 ? forms[0] : (num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2]);
7515 function uk__relativeTimeWithPlural(number, withoutSuffix, key) {
7517 'mm': withoutSuffix ? 'хвилина_хвилини_хвилин' : 'хвилину_хвилини_хвилин',
7518 'hh': withoutSuffix ? 'година_години_годин' : 'годину_години_годин',
7519 'dd': 'день_дні_днів',
7520 'MM': 'місяць_місяці_місяців',
7521 'yy': 'рік_роки_років'
7524 return withoutSuffix ? 'хвилина' : 'хвилину';
7526 else if (key === 'h') {
7527 return withoutSuffix ? 'година' : 'годину';
7530 return number + ' ' + uk__plural(format[key], +number);
7533 function weekdaysCaseReplace(m, format) {
7535 'nominative': 'неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота'.split('_'),
7536 'accusative': 'неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу'.split('_'),
7537 'genitive': 'неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи'.split('_')
7539 nounCase = (/(\[[ВвУу]\]) ?dddd/).test(format) ?
7541 ((/\[?(?:минулої|наступної)? ?\] ?dddd/).test(format) ?
7544 return weekdays[nounCase][m.day()];
7546 function processHoursFunction(str) {
7547 return function () {
7548 return str + 'о' + (this.hours() === 11 ? 'б' : '') + '] LT';
7552 var uk = moment.defineLocale('uk', {
7554 'format': 'січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня'.split('_'),
7555 'standalone': 'січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень'.split('_')
7557 monthsShort : 'січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд'.split('_'),
7558 weekdays : weekdaysCaseReplace,
7559 weekdaysShort : 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
7560 weekdaysMin : 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
7565 LL : 'D MMMM YYYY р.',
7566 LLL : 'D MMMM YYYY р., HH:mm',
7567 LLLL : 'dddd, D MMMM YYYY р., HH:mm'
7570 sameDay: processHoursFunction('[Сьогодні '),
7571 nextDay: processHoursFunction('[Завтра '),
7572 lastDay: processHoursFunction('[Вчора '),
7573 nextWeek: processHoursFunction('[У] dddd ['),
7574 lastWeek: function () {
7575 switch (this.day()) {
7580 return processHoursFunction('[Минулої] dddd [').call(this);
7584 return processHoursFunction('[Минулого] dddd [').call(this);
7592 s : 'декілька секунд',
7593 m : uk__relativeTimeWithPlural,
7594 mm : uk__relativeTimeWithPlural,
7596 hh : uk__relativeTimeWithPlural,
7598 dd : uk__relativeTimeWithPlural,
7600 MM : uk__relativeTimeWithPlural,
7602 yy : uk__relativeTimeWithPlural
7604 // M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason
7605 meridiemParse: /ночі|ранку|дня|вечора/,
7606 isPM: function (input) {
7607 return /^(дня|вечора)$/.test(input);
7609 meridiem : function (hour, minute, isLower) {
7612 } else if (hour < 12) {
7614 } else if (hour < 17) {
7620 ordinalParse: /\d{1,2}-(й|го)/,
7621 ordinal: function (number, period) {
7628 return number + '-й';
7630 return number + '-го';
7636 dow : 1, // Monday is the first day of the week.
7637 doy : 7 // The week that contains Jan 1st is the first week of the year.
7641 //! moment.js locale configuration
7642 //! locale : uzbek (uz)
7643 //! author : Sardor Muminov : https://github.com/muminoff
7645 var uz = moment.defineLocale('uz', {
7646 months : 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split('_'),
7647 monthsShort : 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'),
7648 weekdays : 'Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба'.split('_'),
7649 weekdaysShort : 'Якш_Душ_Сеш_Чор_Пай_Жум_Шан'.split('_'),
7650 weekdaysMin : 'Як_Ду_Се_Чо_Па_Жу_Ша'.split('_'),
7656 LLL : 'D MMMM YYYY HH:mm',
7657 LLLL : 'D MMMM YYYY, dddd HH:mm'
7660 sameDay : '[Бугун соат] LT [да]',
7661 nextDay : '[Эртага] LT [да]',
7662 nextWeek : 'dddd [куни соат] LT [да]',
7663 lastDay : '[Кеча соат] LT [да]',
7664 lastWeek : '[Утган] dddd [куни соат] LT [да]',
7668 future : 'Якин %s ичида',
7669 past : 'Бир неча %s олдин',
7683 dow : 1, // Monday is the first day of the week.
7684 doy : 7 // The week that contains Jan 4th is the first week of the year.
7688 //! moment.js locale configuration
7689 //! locale : vietnamese (vi)
7690 //! author : Bang Nguyen : https://github.com/bangnk
7692 var vi = moment.defineLocale('vi', {
7693 months : 'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split('_'),
7694 monthsShort : 'Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12'.split('_'),
7695 monthsParseExact : true,
7696 weekdays : 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split('_'),
7697 weekdaysShort : 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
7698 weekdaysMin : 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
7699 weekdaysParseExact : true,
7700 meridiemParse: /sa|ch/i,
7701 isPM : function (input) {
7702 return /^ch$/i.test(input);
7704 meridiem : function (hours, minutes, isLower) {
7706 return isLower ? 'sa' : 'SA';
7708 return isLower ? 'ch' : 'CH';
7715 LL : 'D MMMM [năm] YYYY',
7716 LLL : 'D MMMM [năm] YYYY HH:mm',
7717 LLLL : 'dddd, D MMMM [năm] YYYY HH:mm',
7720 lll : 'D MMM YYYY HH:mm',
7721 llll : 'ddd, D MMM YYYY HH:mm'
7724 sameDay: '[Hôm nay lúc] LT',
7725 nextDay: '[Ngày mai lúc] LT',
7726 nextWeek: 'dddd [tuần tới lúc] LT',
7727 lastDay: '[Hôm qua lúc] LT',
7728 lastWeek: 'dddd [tuần rồi lúc] LT',
7746 ordinalParse: /\d{1,2}/,
7747 ordinal : function (number) {
7751 dow : 1, // Monday is the first day of the week.
7752 doy : 4 // The week that contains Jan 4th is the first week of the year.
7756 //! moment.js locale configuration
7757 //! locale : pseudo (x-pseudo)
7758 //! author : Andrew Hood : https://github.com/andrewhood125
7760 var x_pseudo = moment.defineLocale('x-pseudo', {
7761 months : 'J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér'.split('_'),
7762 monthsShort : 'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split('_'),
7763 monthsParseExact : true,
7764 weekdays : 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split('_'),
7765 weekdaysShort : 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'),
7766 weekdaysMin : 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'),
7767 weekdaysParseExact : true,
7772 LLL : 'D MMMM YYYY HH:mm',
7773 LLLL : 'dddd, D MMMM YYYY HH:mm'
7776 sameDay : '[T~ódá~ý át] LT',
7777 nextDay : '[T~ómó~rró~w át] LT',
7778 nextWeek : 'dddd [át] LT',
7779 lastDay : '[Ý~ést~érdá~ý át] LT',
7780 lastWeek : '[L~ást] dddd [át] LT',
7786 s : 'á ~féw ~sécó~ñds',
7788 mm : '%d m~íñú~tés',
7798 ordinalParse: /\d{1,2}(th|st|nd|rd)/,
7799 ordinal : function (number) {
7800 var b = number % 10,
7801 output = (~~(number % 100 / 10) === 1) ? 'th' :
7804 (b === 3) ? 'rd' : 'th';
7805 return number + output;
7808 dow : 1, // Monday is the first day of the week.
7809 doy : 4 // The week that contains Jan 4th is the first week of the year.
7813 //! moment.js locale configuration
7814 //! locale : chinese (zh-cn)
7815 //! author : suupic : https://github.com/suupic
7816 //! author : Zeno Zeng : https://github.com/zenozeng
7818 var zh_cn = moment.defineLocale('zh-cn', {
7819 months : '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'),
7820 monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
7821 weekdays : '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
7822 weekdaysShort : '周日_周一_周二_周三_周四_周五_周六'.split('_'),
7823 weekdaysMin : '日_一_二_三_四_五_六'.split('_'),
7829 LLL : 'YYYY年MMMD日Ah点mm分',
7830 LLLL : 'YYYY年MMMD日ddddAh点mm分',
7833 lll : 'YYYY年MMMD日Ah点mm分',
7834 llll : 'YYYY年MMMD日ddddAh点mm分'
7836 meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
7837 meridiemHour: function (hour, meridiem) {
7841 if (meridiem === '凌晨' || meridiem === '早上' ||
7842 meridiem === '上午') {
7844 } else if (meridiem === '下午' || meridiem === '晚上') {
7848 return hour >= 11 ? hour : hour + 12;
7851 meridiem : function (hour, minute, isLower) {
7852 var hm = hour * 100 + minute;
7855 } else if (hm < 900) {
7857 } else if (hm < 1130) {
7859 } else if (hm < 1230) {
7861 } else if (hm < 1800) {
7868 sameDay : function () {
7869 return this.minutes() === 0 ? '[今天]Ah[点整]' : '[今天]LT';
7871 nextDay : function () {
7872 return this.minutes() === 0 ? '[明天]Ah[点整]' : '[明天]LT';
7874 lastDay : function () {
7875 return this.minutes() === 0 ? '[昨天]Ah[点整]' : '[昨天]LT';
7877 nextWeek : function () {
7878 var startOfWeek, prefix;
7879 startOfWeek = moment().startOf('week');
7880 prefix = this.diff(startOfWeek, 'days') >= 7 ? '[下]' : '[本]';
7881 return this.minutes() === 0 ? prefix + 'dddAh点整' : prefix + 'dddAh点mm';
7883 lastWeek : function () {
7884 var startOfWeek, prefix;
7885 startOfWeek = moment().startOf('week');
7886 prefix = this.unix() < startOfWeek.unix() ? '[上]' : '[本]';
7887 return this.minutes() === 0 ? prefix + 'dddAh点整' : prefix + 'dddAh点mm';
7891 ordinalParse: /\d{1,2}(日|月|周)/,
7892 ordinal : function (number, period) {
7897 return number + '日';
7899 return number + '月';
7902 return number + '周';
7923 // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
7924 dow : 1, // Monday is the first day of the week.
7925 doy : 4 // The week that contains Jan 4th is the first week of the year.
7929 //! moment.js locale configuration
7930 //! locale : traditional chinese (zh-tw)
7931 //! author : Ben : https://github.com/ben-lin
7933 var zh_tw = moment.defineLocale('zh-tw', {
7934 months : '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'),
7935 monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
7936 weekdays : '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
7937 weekdaysShort : '週日_週一_週二_週三_週四_週五_週六'.split('_'),
7938 weekdaysMin : '日_一_二_三_四_五_六'.split('_'),
7944 LLL : 'YYYY年MMMD日Ah點mm分',
7945 LLLL : 'YYYY年MMMD日ddddAh點mm分',
7948 lll : 'YYYY年MMMD日Ah點mm分',
7949 llll : 'YYYY年MMMD日ddddAh點mm分'
7951 meridiemParse: /早上|上午|中午|下午|晚上/,
7952 meridiemHour : function (hour, meridiem) {
7956 if (meridiem === '早上' || meridiem === '上午') {
7958 } else if (meridiem === '中午') {
7959 return hour >= 11 ? hour : hour + 12;
7960 } else if (meridiem === '下午' || meridiem === '晚上') {
7964 meridiem : function (hour, minute, isLower) {
7965 var hm = hour * 100 + minute;
7968 } else if (hm < 1130) {
7970 } else if (hm < 1230) {
7972 } else if (hm < 1800) {
7981 nextWeek : '[下]ddddLT',
7983 lastWeek : '[上]ddddLT',
7986 ordinalParse: /\d{1,2}(日|月|週)/,
7987 ordinal : function (number, period) {
7992 return number + '日';
7994 return number + '月';
7997 return number + '週';
8019 moment.locale('en');