momentjs-rails 2.29.4 → 2.29.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (140) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/news.md +3 -0
  4. data/vendor/assets/javascripts/moment/af.js +77 -66
  5. data/vendor/assets/javascripts/moment/ar-dz.js +156 -145
  6. data/vendor/assets/javascripts/moment/ar-kw.js +59 -48
  7. data/vendor/assets/javascripts/moment/ar-ly.js +175 -164
  8. data/vendor/assets/javascripts/moment/ar-ma.js +59 -48
  9. data/vendor/assets/javascripts/moment/ar-sa.js +108 -97
  10. data/vendor/assets/javascripts/moment/ar-tn.js +59 -48
  11. data/vendor/assets/javascripts/moment/ar.js +191 -180
  12. data/vendor/assets/javascripts/moment/az.js +105 -94
  13. data/vendor/assets/javascripts/moment/be.js +137 -126
  14. data/vendor/assets/javascripts/moment/bg.js +91 -80
  15. data/vendor/assets/javascripts/moment/bm.js +57 -47
  16. data/vendor/assets/javascripts/moment/bn-bd.js +130 -119
  17. data/vendor/assets/javascripts/moment/bn.js +122 -111
  18. data/vendor/assets/javascripts/moment/bo.js +125 -114
  19. data/vendor/assets/javascripts/moment/br.js +165 -154
  20. data/vendor/assets/javascripts/moment/bs.js +149 -138
  21. data/vendor/assets/javascripts/moment/ca.js +99 -88
  22. data/vendor/assets/javascripts/moment/cs.js +179 -168
  23. data/vendor/assets/javascripts/moment/cv.js +66 -55
  24. data/vendor/assets/javascripts/moment/cy.js +100 -89
  25. data/vendor/assets/javascripts/moment/da.js +59 -48
  26. data/vendor/assets/javascripts/moment/de-at.js +79 -68
  27. data/vendor/assets/javascripts/moment/de-ch.js +78 -69
  28. data/vendor/assets/javascripts/moment/de.js +79 -68
  29. data/vendor/assets/javascripts/moment/dv.js +95 -84
  30. data/vendor/assets/javascripts/moment/el.js +107 -96
  31. data/vendor/assets/javascripts/moment/en-au.js +74 -63
  32. data/vendor/assets/javascripts/moment/en-ca.js +70 -59
  33. data/vendor/assets/javascripts/moment/en-gb.js +74 -63
  34. data/vendor/assets/javascripts/moment/en-ie.js +74 -63
  35. data/vendor/assets/javascripts/moment/en-il.js +70 -59
  36. data/vendor/assets/javascripts/moment/en-in.js +74 -63
  37. data/vendor/assets/javascripts/moment/en-nz.js +74 -63
  38. data/vendor/assets/javascripts/moment/en-sg.js +74 -63
  39. data/vendor/assets/javascripts/moment/eo.js +71 -60
  40. data/vendor/assets/javascripts/moment/es-do.js +108 -97
  41. data/vendor/assets/javascripts/moment/es-mx.js +109 -98
  42. data/vendor/assets/javascripts/moment/es-us.js +108 -97
  43. data/vendor/assets/javascripts/moment/es.js +109 -98
  44. data/vendor/assets/javascripts/moment/et.js +79 -68
  45. data/vendor/assets/javascripts/moment/eu.js +69 -58
  46. data/vendor/assets/javascripts/moment/fa.js +116 -105
  47. data/vendor/assets/javascripts/moment/fi.js +126 -115
  48. data/vendor/assets/javascripts/moment/fil.js +63 -52
  49. data/vendor/assets/javascripts/moment/fo.js +60 -49
  50. data/vendor/assets/javascripts/moment/fr-ca.js +73 -62
  51. data/vendor/assets/javascripts/moment/fr-ch.js +77 -66
  52. data/vendor/assets/javascripts/moment/fr.js +109 -98
  53. data/vendor/assets/javascripts/moment/fy.js +80 -69
  54. data/vendor/assets/javascripts/moment/ga.js +100 -89
  55. data/vendor/assets/javascripts/moment/gd.js +100 -89
  56. data/vendor/assets/javascripts/moment/gl.js +75 -64
  57. data/vendor/assets/javascripts/moment/gom-deva.js +129 -118
  58. data/vendor/assets/javascripts/moment/gom-latn.js +127 -116
  59. data/vendor/assets/javascripts/moment/gu.js +125 -114
  60. data/vendor/assets/javascripts/moment/he.js +93 -82
  61. data/vendor/assets/javascripts/moment/hi.js +165 -154
  62. data/vendor/assets/javascripts/moment/hr.js +154 -143
  63. data/vendor/assets/javascripts/moment/hu.js +117 -106
  64. data/vendor/assets/javascripts/moment/hy-am.js +96 -85
  65. data/vendor/assets/javascripts/moment/id.js +81 -70
  66. data/vendor/assets/javascripts/moment/is.js +136 -125
  67. data/vendor/assets/javascripts/moment/it-ch.js +68 -57
  68. data/vendor/assets/javascripts/moment/it.js +106 -95
  69. data/vendor/assets/javascripts/moment/ja.js +146 -135
  70. data/vendor/assets/javascripts/moment/jv.js +81 -70
  71. data/vendor/assets/javascripts/moment/ka.js +91 -80
  72. data/vendor/assets/javascripts/moment/kk.js +87 -76
  73. data/vendor/assets/javascripts/moment/km.js +106 -95
  74. data/vendor/assets/javascripts/moment/kn.js +127 -116
  75. data/vendor/assets/javascripts/moment/ko.js +80 -69
  76. data/vendor/assets/javascripts/moment/ku.js +123 -112
  77. data/vendor/assets/javascripts/moment/ky.js +89 -78
  78. data/vendor/assets/javascripts/moment/lb.js +132 -121
  79. data/vendor/assets/javascripts/moment/lo.js +70 -59
  80. data/vendor/assets/javascripts/moment/lt.js +123 -112
  81. data/vendor/assets/javascripts/moment/lv.js +95 -84
  82. data/vendor/assets/javascripts/moment/me.js +119 -108
  83. data/vendor/assets/javascripts/moment/mi.js +64 -53
  84. data/vendor/assets/javascripts/moment/mk.js +90 -78
  85. data/vendor/assets/javascripts/moment/ml.js +86 -75
  86. data/vendor/assets/javascripts/moment/mn.js +101 -90
  87. data/vendor/assets/javascripts/moment/mr.js +202 -191
  88. data/vendor/assets/javascripts/moment/ms-my.js +81 -70
  89. data/vendor/assets/javascripts/moment/ms.js +81 -70
  90. data/vendor/assets/javascripts/moment/mt.js +60 -49
  91. data/vendor/assets/javascripts/moment/my.js +93 -82
  92. data/vendor/assets/javascripts/moment/nb.js +64 -53
  93. data/vendor/assets/javascripts/moment/ne.js +124 -113
  94. data/vendor/assets/javascripts/moment/nl-be.js +103 -92
  95. data/vendor/assets/javascripts/moment/nl.js +105 -94
  96. data/vendor/assets/javascripts/moment/nn.js +64 -53
  97. data/vendor/assets/javascripts/moment/oc-lnc.js +87 -76
  98. data/vendor/assets/javascripts/moment/pa-in.js +125 -114
  99. data/vendor/assets/javascripts/moment/pl.js +138 -127
  100. data/vendor/assets/javascripts/moment/pt-br.js +61 -50
  101. data/vendor/assets/javascripts/moment/pt.js +66 -55
  102. data/vendor/assets/javascripts/moment/ro.js +76 -65
  103. data/vendor/assets/javascripts/moment/ru.js +198 -187
  104. data/vendor/assets/javascripts/moment/sd.js +86 -75
  105. data/vendor/assets/javascripts/moment/se.js +61 -50
  106. data/vendor/assets/javascripts/moment/si.js +73 -62
  107. data/vendor/assets/javascripts/moment/sk.js +146 -135
  108. data/vendor/assets/javascripts/moment/sl.js +170 -159
  109. data/vendor/assets/javascripts/moment/sq.js +69 -58
  110. data/vendor/assets/javascripts/moment/sr-cyrl.js +126 -115
  111. data/vendor/assets/javascripts/moment/sr.js +128 -117
  112. data/vendor/assets/javascripts/moment/ss.js +87 -76
  113. data/vendor/assets/javascripts/moment/sv.js +74 -63
  114. data/vendor/assets/javascripts/moment/sw.js +59 -48
  115. data/vendor/assets/javascripts/moment/ta.js +132 -121
  116. data/vendor/assets/javascripts/moment/te.js +92 -81
  117. data/vendor/assets/javascripts/moment/tet.js +72 -61
  118. data/vendor/assets/javascripts/moment/tg.js +120 -109
  119. data/vendor/assets/javascripts/moment/th.js +69 -58
  120. data/vendor/assets/javascripts/moment/tk.js +96 -85
  121. data/vendor/assets/javascripts/moment/tl-ph.js +63 -52
  122. data/vendor/assets/javascripts/moment/tlh.js +120 -109
  123. data/vendor/assets/javascripts/moment/tr.js +110 -99
  124. data/vendor/assets/javascripts/moment/tzl.js +93 -82
  125. data/vendor/assets/javascripts/moment/tzm-latn.js +58 -47
  126. data/vendor/assets/javascripts/moment/tzm.js +58 -47
  127. data/vendor/assets/javascripts/moment/ug-cn.js +114 -103
  128. data/vendor/assets/javascripts/moment/uk.js +163 -152
  129. data/vendor/assets/javascripts/moment/ur.js +86 -75
  130. data/vendor/assets/javascripts/moment/uz-latn.js +58 -47
  131. data/vendor/assets/javascripts/moment/uz.js +57 -46
  132. data/vendor/assets/javascripts/moment/vi.js +83 -72
  133. data/vendor/assets/javascripts/moment/x-pseudo.js +77 -66
  134. data/vendor/assets/javascripts/moment/yo.js +59 -48
  135. data/vendor/assets/javascripts/moment/zh-cn.js +118 -107
  136. data/vendor/assets/javascripts/moment/zh-hk.js +104 -93
  137. data/vendor/assets/javascripts/moment/zh-mo.js +104 -93
  138. data/vendor/assets/javascripts/moment/zh-tw.js +104 -93
  139. data/vendor/assets/javascripts/moment.js +5018 -5010
  140. metadata +2 -2
@@ -4,91 +4,102 @@
4
4
  //! author : Moshe Simantov : https://github.com/DevelopmentIL
5
5
  //! author : Tal Ater : https://github.com/TalAter
6
6
 
7
- import moment from '../moment';
7
+ ;(function (global, factory) {
8
+ typeof exports === 'object' && typeof module !== 'undefined'
9
+ && typeof require === 'function' ? factory(require('../moment')) :
10
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
11
+ factory(global.moment)
12
+ }(this, (function (moment) { 'use strict';
8
13
 
9
- export default moment.defineLocale('he', {
10
- months: 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split(
11
- '_'
12
- ),
13
- monthsShort:
14
- 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split('_'),
15
- weekdays: 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'),
16
- weekdaysShort: 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'),
17
- weekdaysMin: 'א_ב_ג_ד_ה_ו_ש'.split('_'),
18
- longDateFormat: {
19
- LT: 'HH:mm',
20
- LTS: 'HH:mm:ss',
21
- L: 'DD/MM/YYYY',
22
- LL: 'D [ב]MMMM YYYY',
23
- LLL: 'D [ב]MMMM YYYY HH:mm',
24
- LLLL: 'dddd, D [ב]MMMM YYYY HH:mm',
25
- l: 'D/M/YYYY',
26
- ll: 'D MMM YYYY',
27
- lll: 'D MMM YYYY HH:mm',
28
- llll: 'ddd, D MMM YYYY HH:mm',
29
- },
30
- calendar: {
31
- sameDay: '[היום ב־]LT',
32
- nextDay: '[מחר ב־]LT',
33
- nextWeek: 'dddd [בשעה] LT',
34
- lastDay: '[אתמול ב־]LT',
35
- lastWeek: '[ביום] dddd [האחרון בשעה] LT',
36
- sameElse: 'L',
37
- },
38
- relativeTime: {
39
- future: 'בעוד %s',
40
- past: 'לפני %s',
41
- s: 'מספר שניות',
42
- ss: '%d שניות',
43
- m: 'דקה',
44
- mm: '%d דקות',
45
- h: 'שעה',
46
- hh: function (number) {
47
- if (number === 2) {
48
- return 'שעתיים';
49
- }
50
- return number + ' שעות';
14
+ //! moment.js locale configuration
15
+
16
+ var he = moment.defineLocale('he', {
17
+ months: 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split(
18
+ '_'
19
+ ),
20
+ monthsShort:
21
+ 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split('_'),
22
+ weekdays: 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'),
23
+ weekdaysShort: 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'),
24
+ weekdaysMin: 'א_ב_ג_ד_ה_ו_ש'.split('_'),
25
+ longDateFormat: {
26
+ LT: 'HH:mm',
27
+ LTS: 'HH:mm:ss',
28
+ L: 'DD/MM/YYYY',
29
+ LL: 'D [ב]MMMM YYYY',
30
+ LLL: 'D [ב]MMMM YYYY HH:mm',
31
+ LLLL: 'dddd, D [ב]MMMM YYYY HH:mm',
32
+ l: 'D/M/YYYY',
33
+ ll: 'D MMM YYYY',
34
+ lll: 'D MMM YYYY HH:mm',
35
+ llll: 'ddd, D MMM YYYY HH:mm',
51
36
  },
52
- d: 'יום',
53
- dd: function (number) {
54
- if (number === 2) {
55
- return 'יומיים';
56
- }
57
- return number + ' ימים';
37
+ calendar: {
38
+ sameDay: '[היום ב־]LT',
39
+ nextDay: '[מחר ב־]LT',
40
+ nextWeek: 'dddd [בשעה] LT',
41
+ lastDay: '[אתמול ב־]LT',
42
+ lastWeek: '[ביום] dddd [האחרון בשעה] LT',
43
+ sameElse: 'L',
58
44
  },
59
- M: 'חודש',
60
- MM: function (number) {
61
- if (number === 2) {
62
- return 'חודשיים';
63
- }
64
- return number + ' חודשים';
45
+ relativeTime: {
46
+ future: 'בעוד %s',
47
+ past: 'לפני %s',
48
+ s: 'מספר שניות',
49
+ ss: '%d שניות',
50
+ m: 'דקה',
51
+ mm: '%d דקות',
52
+ h: 'שעה',
53
+ hh: function (number) {
54
+ if (number === 2) {
55
+ return 'שעתיים';
56
+ }
57
+ return number + ' שעות';
58
+ },
59
+ d: 'יום',
60
+ dd: function (number) {
61
+ if (number === 2) {
62
+ return 'יומיים';
63
+ }
64
+ return number + ' ימים';
65
+ },
66
+ M: 'חודש',
67
+ MM: function (number) {
68
+ if (number === 2) {
69
+ return 'חודשיים';
70
+ }
71
+ return number + ' חודשים';
72
+ },
73
+ y: 'שנה',
74
+ yy: function (number) {
75
+ if (number === 2) {
76
+ return 'שנתיים';
77
+ } else if (number % 10 === 0 && number !== 10) {
78
+ return number + ' שנה';
79
+ }
80
+ return number + ' שנים';
81
+ },
65
82
  },
66
- y: 'שנה',
67
- yy: function (number) {
68
- if (number === 2) {
69
- return 'שנתיים';
70
- } else if (number % 10 === 0 && number !== 10) {
71
- return number + ' שנה';
83
+ meridiemParse:
84
+ /אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,
85
+ isPM: function (input) {
86
+ return /^(אחה"צ|אחרי הצהריים|בערב)$/.test(input);
87
+ },
88
+ meridiem: function (hour, minute, isLower) {
89
+ if (hour < 5) {
90
+ return 'לפנות בוקר';
91
+ } else if (hour < 10) {
92
+ return 'בבוקר';
93
+ } else if (hour < 12) {
94
+ return isLower ? 'לפנה"צ' : 'לפני הצהריים';
95
+ } else if (hour < 18) {
96
+ return isLower ? 'אחה"צ' : 'אחרי הצהריים';
97
+ } else {
98
+ return 'בערב';
72
99
  }
73
- return number + ' שנים';
74
100
  },
75
- },
76
- meridiemParse:
77
- /אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,
78
- isPM: function (input) {
79
- return /^(אחה"צ|אחרי הצהריים|בערב)$/.test(input);
80
- },
81
- meridiem: function (hour, minute, isLower) {
82
- if (hour < 5) {
83
- return 'לפנות בוקר';
84
- } else if (hour < 10) {
85
- return 'בבוקר';
86
- } else if (hour < 12) {
87
- return isLower ? 'לפנה"צ' : 'לפני הצהריים';
88
- } else if (hour < 18) {
89
- return isLower ? 'אחה"צ' : 'אחרי הצהריים';
90
- } else {
91
- return 'בערב';
92
- }
93
- },
94
- });
101
+ });
102
+
103
+ return he;
104
+
105
+ })));
@@ -2,167 +2,178 @@
2
2
  //! locale : Hindi [hi]
3
3
  //! author : Mayank Singhal : https://github.com/mayanksinghal
4
4
 
5
- import moment from '../moment';
5
+ ;(function (global, factory) {
6
+ typeof exports === 'object' && typeof module !== 'undefined'
7
+ && typeof require === 'function' ? factory(require('../moment')) :
8
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
9
+ factory(global.moment)
10
+ }(this, (function (moment) { 'use strict';
6
11
 
7
- var symbolMap = {
8
- 1: '१',
9
- 2: '२',
10
- 3: '३',
11
- 4: '४',
12
- 5: '५',
13
- 6: '६',
14
- 7: '७',
15
- 8: '८',
16
- 9: '९',
17
- 0: '०',
18
- },
19
- numberMap = {
20
- '१': '1',
21
- '२': '2',
22
- '३': '3',
23
- '४': '4',
24
- '५': '5',
25
- '६': '6',
26
- '७': '7',
27
- '८': '8',
28
- '९': '9',
29
- '०': '0',
30
- },
31
- monthsParse = [
32
- /^जन/i,
33
- /^फ़र|फर/i,
34
- /^मार्च/i,
35
- /^अप्रै/i,
36
- /^मई/i,
37
- /^जून/i,
38
- /^जुल/i,
39
- /^अग/i,
40
- /^सितं|सित/i,
41
- /^अक्टू/i,
42
- /^नव|नवं/i,
43
- /^दिसं|दिस/i,
44
- ],
45
- shortMonthsParse = [
46
- /^जन/i,
47
- /^फ़र/i,
48
- /^मार्च/i,
49
- /^अप्रै/i,
50
- /^मई/i,
51
- /^जून/i,
52
- /^जुल/i,
53
- /^अग/i,
54
- /^सित/i,
55
- /^अक्टू/i,
56
- /^नव/i,
57
- /^दिस/i,
58
- ];
12
+ //! moment.js locale configuration
59
13
 
60
- export default moment.defineLocale('hi', {
61
- months: {
62
- format: 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split(
63
- '_'
64
- ),
65
- standalone:
66
- 'जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर'.split(
14
+ var symbolMap = {
15
+ 1: '१',
16
+ 2: '',
17
+ 3: '',
18
+ 4: '४',
19
+ 5: '५',
20
+ 6: '',
21
+ 7: '७',
22
+ 8: '८',
23
+ 9: '९',
24
+ 0: '०',
25
+ },
26
+ numberMap = {
27
+ '१': '1',
28
+ '२': '2',
29
+ '३': '3',
30
+ '४': '4',
31
+ '५': '5',
32
+ '६': '6',
33
+ '७': '7',
34
+ '८': '8',
35
+ '९': '9',
36
+ '०': '0',
37
+ },
38
+ monthsParse = [
39
+ /^जन/i,
40
+ /^फ़र|फर/i,
41
+ /^मार्च/i,
42
+ /^अप्रै/i,
43
+ /^मई/i,
44
+ /^जून/i,
45
+ /^जुल/i,
46
+ /^अग/i,
47
+ /^सितं|सित/i,
48
+ /^अक्टू/i,
49
+ /^नव|नवं/i,
50
+ /^दिसं|दिस/i,
51
+ ],
52
+ shortMonthsParse = [
53
+ /^जन/i,
54
+ /^फ़र/i,
55
+ /^मार्च/i,
56
+ /^अप्रै/i,
57
+ /^मई/i,
58
+ /^जून/i,
59
+ /^जुल/i,
60
+ /^अग/i,
61
+ /^सित/i,
62
+ /^अक्टू/i,
63
+ /^नव/i,
64
+ /^दिस/i,
65
+ ];
66
+
67
+ var hi = moment.defineLocale('hi', {
68
+ months: {
69
+ format: 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split(
67
70
  '_'
68
71
  ),
69
- },
70
- monthsShort:
71
- 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split('_'),
72
- weekdays: 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),
73
- weekdaysShort: 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split('_'),
74
- weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'),
75
- longDateFormat: {
76
- LT: 'A h:mm बजे',
77
- LTS: 'A h:mm:ss बजे',
78
- L: 'DD/MM/YYYY',
79
- LL: 'D MMMM YYYY',
80
- LLL: 'D MMMM YYYY, A h:mm बजे',
81
- LLLL: 'dddd, D MMMM YYYY, A h:mm बजे',
82
- },
72
+ standalone:
73
+ 'जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर'.split(
74
+ '_'
75
+ ),
76
+ },
77
+ monthsShort:
78
+ 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split('_'),
79
+ weekdays: 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),
80
+ weekdaysShort: 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split('_'),
81
+ weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'),
82
+ longDateFormat: {
83
+ LT: 'A h:mm बजे',
84
+ LTS: 'A h:mm:ss बजे',
85
+ L: 'DD/MM/YYYY',
86
+ LL: 'D MMMM YYYY',
87
+ LLL: 'D MMMM YYYY, A h:mm बजे',
88
+ LLLL: 'dddd, D MMMM YYYY, A h:mm बजे',
89
+ },
90
+
91
+ monthsParse: monthsParse,
92
+ longMonthsParse: monthsParse,
93
+ shortMonthsParse: shortMonthsParse,
94
+
95
+ monthsRegex:
96
+ /^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,
83
97
 
84
- monthsParse: monthsParse,
85
- longMonthsParse: monthsParse,
86
- shortMonthsParse: shortMonthsParse,
98
+ monthsShortRegex:
99
+ /^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,
87
100
 
88
- monthsRegex:
89
- /^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,
101
+ monthsStrictRegex:
102
+ /^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,
90
103
 
91
- monthsShortRegex:
92
- /^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,
104
+ monthsShortStrictRegex:
105
+ /^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,
93
106
 
94
- monthsStrictRegex:
95
- /^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,
107
+ calendar: {
108
+ sameDay: '[आज] LT',
109
+ nextDay: '[कल] LT',
110
+ nextWeek: 'dddd, LT',
111
+ lastDay: '[कल] LT',
112
+ lastWeek: '[पिछले] dddd, LT',
113
+ sameElse: 'L',
114
+ },
115
+ relativeTime: {
116
+ future: '%s में',
117
+ past: '%s पहले',
118
+ s: 'कुछ ही क्षण',
119
+ ss: '%d सेकंड',
120
+ m: 'एक मिनट',
121
+ mm: '%d मिनट',
122
+ h: 'एक घंटा',
123
+ hh: '%d घंटे',
124
+ d: 'एक दिन',
125
+ dd: '%d दिन',
126
+ M: 'एक महीने',
127
+ MM: '%d महीने',
128
+ y: 'एक वर्ष',
129
+ yy: '%d वर्ष',
130
+ },
131
+ preparse: function (string) {
132
+ return string.replace(/[१२३४५६७८९०]/g, function (match) {
133
+ return numberMap[match];
134
+ });
135
+ },
136
+ postformat: function (string) {
137
+ return string.replace(/\d/g, function (match) {
138
+ return symbolMap[match];
139
+ });
140
+ },
141
+ // Hindi notation for meridiems are quite fuzzy in practice. While there exists
142
+ // a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi.
143
+ meridiemParse: /रात|सुबह|दोपहर|शाम/,
144
+ meridiemHour: function (hour, meridiem) {
145
+ if (hour === 12) {
146
+ hour = 0;
147
+ }
148
+ if (meridiem === 'रात') {
149
+ return hour < 4 ? hour : hour + 12;
150
+ } else if (meridiem === 'सुबह') {
151
+ return hour;
152
+ } else if (meridiem === 'दोपहर') {
153
+ return hour >= 10 ? hour : hour + 12;
154
+ } else if (meridiem === 'शाम') {
155
+ return hour + 12;
156
+ }
157
+ },
158
+ meridiem: function (hour, minute, isLower) {
159
+ if (hour < 4) {
160
+ return 'रात';
161
+ } else if (hour < 10) {
162
+ return 'सुबह';
163
+ } else if (hour < 17) {
164
+ return 'दोपहर';
165
+ } else if (hour < 20) {
166
+ return 'शाम';
167
+ } else {
168
+ return 'रात';
169
+ }
170
+ },
171
+ week: {
172
+ dow: 0, // Sunday is the first day of the week.
173
+ doy: 6, // The week that contains Jan 6th is the first week of the year.
174
+ },
175
+ });
96
176
 
97
- monthsShortStrictRegex:
98
- /^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,
177
+ return hi;
99
178
 
100
- calendar: {
101
- sameDay: '[आज] LT',
102
- nextDay: '[कल] LT',
103
- nextWeek: 'dddd, LT',
104
- lastDay: '[कल] LT',
105
- lastWeek: '[पिछले] dddd, LT',
106
- sameElse: 'L',
107
- },
108
- relativeTime: {
109
- future: '%s में',
110
- past: '%s पहले',
111
- s: 'कुछ ही क्षण',
112
- ss: '%d सेकंड',
113
- m: 'एक मिनट',
114
- mm: '%d मिनट',
115
- h: 'एक घंटा',
116
- hh: '%d घंटे',
117
- d: 'एक दिन',
118
- dd: '%d दिन',
119
- M: 'एक महीने',
120
- MM: '%d महीने',
121
- y: 'एक वर्ष',
122
- yy: '%d वर्ष',
123
- },
124
- preparse: function (string) {
125
- return string.replace(/[१२३४५६७८९०]/g, function (match) {
126
- return numberMap[match];
127
- });
128
- },
129
- postformat: function (string) {
130
- return string.replace(/\d/g, function (match) {
131
- return symbolMap[match];
132
- });
133
- },
134
- // Hindi notation for meridiems are quite fuzzy in practice. While there exists
135
- // a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi.
136
- meridiemParse: /रात|सुबह|दोपहर|शाम/,
137
- meridiemHour: function (hour, meridiem) {
138
- if (hour === 12) {
139
- hour = 0;
140
- }
141
- if (meridiem === 'रात') {
142
- return hour < 4 ? hour : hour + 12;
143
- } else if (meridiem === 'सुबह') {
144
- return hour;
145
- } else if (meridiem === 'दोपहर') {
146
- return hour >= 10 ? hour : hour + 12;
147
- } else if (meridiem === 'शाम') {
148
- return hour + 12;
149
- }
150
- },
151
- meridiem: function (hour, minute, isLower) {
152
- if (hour < 4) {
153
- return 'रात';
154
- } else if (hour < 10) {
155
- return 'सुबह';
156
- } else if (hour < 17) {
157
- return 'दोपहर';
158
- } else if (hour < 20) {
159
- return 'शाम';
160
- } else {
161
- return 'रात';
162
- }
163
- },
164
- week: {
165
- dow: 0, // Sunday is the first day of the week.
166
- doy: 6, // The week that contains Jan 6th is the first week of the year.
167
- },
168
- });
179
+ })));