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
@@ -3,87 +3,98 @@
3
3
  //! author : Robin van der Vliet : https://github.com/robin0van0der0v
4
4
  //! author : Iustì Canun
5
5
 
6
- import moment from '../moment';
6
+ ;(function (global, factory) {
7
+ typeof exports === 'object' && typeof module !== 'undefined'
8
+ && typeof require === 'function' ? factory(require('../moment')) :
9
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
10
+ factory(global.moment)
11
+ }(this, (function (moment) { 'use strict';
7
12
 
8
- // After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals.
9
- // This is currently too difficult (maybe even impossible) to add.
10
- export default moment.defineLocale('tzl', {
11
- months: 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split(
12
- '_'
13
- ),
14
- monthsShort: 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'),
15
- weekdays: 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'),
16
- weekdaysShort: 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'),
17
- weekdaysMin: 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'),
18
- longDateFormat: {
19
- LT: 'HH.mm',
20
- LTS: 'HH.mm.ss',
21
- L: 'DD.MM.YYYY',
22
- LL: 'D. MMMM [dallas] YYYY',
23
- LLL: 'D. MMMM [dallas] YYYY HH.mm',
24
- LLLL: 'dddd, [li] D. MMMM [dallas] YYYY HH.mm',
25
- },
26
- meridiemParse: /d\'o|d\'a/i,
27
- isPM: function (input) {
28
- return "d'o" === input.toLowerCase();
29
- },
30
- meridiem: function (hours, minutes, isLower) {
31
- if (hours > 11) {
32
- return isLower ? "d'o" : "D'O";
33
- } else {
34
- return isLower ? "d'a" : "D'A";
35
- }
36
- },
37
- calendar: {
38
- sameDay: '[oxhi à] LT',
39
- nextDay: '[demà à] LT',
40
- nextWeek: 'dddd [à] LT',
41
- lastDay: '[ieiri à] LT',
42
- lastWeek: '[sür el] dddd [lasteu à] LT',
43
- sameElse: 'L',
44
- },
45
- relativeTime: {
46
- future: 'osprei %s',
47
- past: 'ja%s',
48
- s: processRelativeTime,
49
- ss: processRelativeTime,
50
- m: processRelativeTime,
51
- mm: processRelativeTime,
52
- h: processRelativeTime,
53
- hh: processRelativeTime,
54
- d: processRelativeTime,
55
- dd: processRelativeTime,
56
- M: processRelativeTime,
57
- MM: processRelativeTime,
58
- y: processRelativeTime,
59
- yy: processRelativeTime,
60
- },
61
- dayOfMonthOrdinalParse: /\d{1,2}\./,
62
- ordinal: '%d.',
63
- week: {
64
- dow: 1, // Monday is the first day of the week.
65
- doy: 4, // The week that contains Jan 4th is the first week of the year.
66
- },
67
- });
13
+ //! moment.js locale configuration
68
14
 
69
- function processRelativeTime(number, withoutSuffix, key, isFuture) {
70
- var format = {
71
- s: ['viensas secunds', "'iensas secunds"],
72
- ss: [number + ' secunds', '' + number + ' secunds'],
73
- m: ["'n míut", "'iens míut"],
74
- mm: [number + ' míuts', '' + number + ' míuts'],
75
- h: ["'n þora", "'iensa þora"],
76
- hh: [number + ' þoras', '' + number + ' þoras'],
77
- d: ["'n ziua", "'iensa ziua"],
78
- dd: [number + ' ziuas', '' + number + ' ziuas'],
79
- M: ["'n mes", "'iens mes"],
80
- MM: [number + ' mesen', '' + number + ' mesen'],
81
- y: ["'n ar", "'iens ar"],
82
- yy: [number + ' ars', '' + number + ' ars'],
83
- };
84
- return isFuture
85
- ? format[key][0]
86
- : withoutSuffix
87
- ? format[key][0]
88
- : format[key][1];
89
- }
15
+ // After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals.
16
+ // This is currently too difficult (maybe even impossible) to add.
17
+ var tzl = moment.defineLocale('tzl', {
18
+ months: 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split(
19
+ '_'
20
+ ),
21
+ monthsShort: 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'),
22
+ weekdays: 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'),
23
+ weekdaysShort: 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'),
24
+ weekdaysMin: 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'),
25
+ longDateFormat: {
26
+ LT: 'HH.mm',
27
+ LTS: 'HH.mm.ss',
28
+ L: 'DD.MM.YYYY',
29
+ LL: 'D. MMMM [dallas] YYYY',
30
+ LLL: 'D. MMMM [dallas] YYYY HH.mm',
31
+ LLLL: 'dddd, [li] D. MMMM [dallas] YYYY HH.mm',
32
+ },
33
+ meridiemParse: /d\'o|d\'a/i,
34
+ isPM: function (input) {
35
+ return "d'o" === input.toLowerCase();
36
+ },
37
+ meridiem: function (hours, minutes, isLower) {
38
+ if (hours > 11) {
39
+ return isLower ? "d'o" : "D'O";
40
+ } else {
41
+ return isLower ? "d'a" : "D'A";
42
+ }
43
+ },
44
+ calendar: {
45
+ sameDay: '[oxhi à] LT',
46
+ nextDay: '[demà à] LT',
47
+ nextWeek: 'dddd [à] LT',
48
+ lastDay: '[ieiri à] LT',
49
+ lastWeek: '[sür el] dddd [lasteu à] LT',
50
+ sameElse: 'L',
51
+ },
52
+ relativeTime: {
53
+ future: 'osprei %s',
54
+ past: 'ja%s',
55
+ s: processRelativeTime,
56
+ ss: processRelativeTime,
57
+ m: processRelativeTime,
58
+ mm: processRelativeTime,
59
+ h: processRelativeTime,
60
+ hh: processRelativeTime,
61
+ d: processRelativeTime,
62
+ dd: processRelativeTime,
63
+ M: processRelativeTime,
64
+ MM: processRelativeTime,
65
+ y: processRelativeTime,
66
+ yy: processRelativeTime,
67
+ },
68
+ dayOfMonthOrdinalParse: /\d{1,2}\./,
69
+ ordinal: '%d.',
70
+ week: {
71
+ dow: 1, // Monday is the first day of the week.
72
+ doy: 4, // The week that contains Jan 4th is the first week of the year.
73
+ },
74
+ });
75
+
76
+ function processRelativeTime(number, withoutSuffix, key, isFuture) {
77
+ var format = {
78
+ s: ['viensas secunds', "'iensas secunds"],
79
+ ss: [number + ' secunds', '' + number + ' secunds'],
80
+ m: ["'n míut", "'iens míut"],
81
+ mm: [number + ' míuts', '' + number + ' míuts'],
82
+ h: ["'n þora", "'iensa þora"],
83
+ hh: [number + ' þoras', '' + number + ' þoras'],
84
+ d: ["'n ziua", "'iensa ziua"],
85
+ dd: [number + ' ziuas', '' + number + ' ziuas'],
86
+ M: ["'n mes", "'iens mes"],
87
+ MM: [number + ' mesen', '' + number + ' mesen'],
88
+ y: ["'n ar", "'iens ar"],
89
+ yy: [number + ' ars', '' + number + ' ars'],
90
+ };
91
+ return isFuture
92
+ ? format[key][0]
93
+ : withoutSuffix
94
+ ? format[key][0]
95
+ : format[key][1];
96
+ }
97
+
98
+ return tzl;
99
+
100
+ })));
@@ -2,53 +2,64 @@
2
2
  //! locale : Central Atlas Tamazight Latin [tzm-latn]
3
3
  //! author : Abdel Said : https://github.com/abdelsaid
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
- export default moment.defineLocale('tzm-latn', {
8
- months: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split(
9
- '_'
10
- ),
11
- monthsShort:
12
- 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split(
12
+ //! moment.js locale configuration
13
+
14
+ var tzmLatn = moment.defineLocale('tzm-latn', {
15
+ months: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split(
13
16
  '_'
14
17
  ),
15
- weekdays: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
16
- weekdaysShort: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
17
- weekdaysMin: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.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
- },
26
- calendar: {
27
- sameDay: '[asdkh g] LT',
28
- nextDay: '[aska g] LT',
29
- nextWeek: 'dddd [g] LT',
30
- lastDay: '[assant g] LT',
31
- lastWeek: 'dddd [g] LT',
32
- sameElse: 'L',
33
- },
34
- relativeTime: {
35
- future: 'dadkh s yan %s',
36
- past: 'yan %s',
37
- s: 'imik',
38
- ss: '%d imik',
39
- m: 'minuḍ',
40
- mm: '%d minuḍ',
41
- h: 'saɛa',
42
- hh: '%d tassaɛin',
43
- d: 'ass',
44
- dd: '%d ossan',
45
- M: 'ayowr',
46
- MM: '%d iyyirn',
47
- y: 'asgas',
48
- yy: '%d isgasn',
49
- },
50
- week: {
51
- dow: 6, // Saturday is the first day of the week.
52
- doy: 12, // The week that contains Jan 12th is the first week of the year.
53
- },
54
- });
18
+ monthsShort:
19
+ 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split(
20
+ '_'
21
+ ),
22
+ weekdays: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
23
+ weekdaysShort: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
24
+ weekdaysMin: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.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
+ },
33
+ calendar: {
34
+ sameDay: '[asdkh g] LT',
35
+ nextDay: '[aska g] LT',
36
+ nextWeek: 'dddd [g] LT',
37
+ lastDay: '[assant g] LT',
38
+ lastWeek: 'dddd [g] LT',
39
+ sameElse: 'L',
40
+ },
41
+ relativeTime: {
42
+ future: 'dadkh s yan %s',
43
+ past: 'yan %s',
44
+ s: 'imik',
45
+ ss: '%d imik',
46
+ m: 'minuḍ',
47
+ mm: '%d minuḍ',
48
+ h: 'saɛa',
49
+ hh: '%d tassaɛin',
50
+ d: 'ass',
51
+ dd: '%d ossan',
52
+ M: 'ayowr',
53
+ MM: '%d iyyirn',
54
+ y: 'asgas',
55
+ yy: '%d isgasn',
56
+ },
57
+ week: {
58
+ dow: 6, // Saturday is the first day of the week.
59
+ doy: 12, // The week that contains Jan 12th is the first week of the year.
60
+ },
61
+ });
62
+
63
+ return tzmLatn;
64
+
65
+ })));
@@ -2,53 +2,64 @@
2
2
  //! locale : Central Atlas Tamazight [tzm]
3
3
  //! author : Abdel Said : https://github.com/abdelsaid
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
- export default moment.defineLocale('tzm', {
8
- months: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split(
9
- '_'
10
- ),
11
- monthsShort:
12
- 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split(
12
+ //! moment.js locale configuration
13
+
14
+ var tzm = moment.defineLocale('tzm', {
15
+ months: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split(
13
16
  '_'
14
17
  ),
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
- },
26
- calendar: {
27
- sameDay: '[ⴰⵙⴷⵅ ⴴ] LT',
28
- nextDay: '[ⴰⵙⴽⴰ ⴴ] LT',
29
- nextWeek: 'dddd [ⴴ] LT',
30
- lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT',
31
- lastWeek: 'dddd [ⴴ] LT',
32
- sameElse: 'L',
33
- },
34
- relativeTime: {
35
- future: 'ⴷⴰⴷⵅ ⵢⴰⵏ %s',
36
- past: 'ⵢⴰⵏ %s',
37
- s: 'ⵉⵎⵉⴽ',
38
- ss: '%d ⵉⵎⵉⴽ',
39
- m: 'ⵎⵉⵏⵓⴺ',
40
- mm: '%d ⵎⵉⵏⵓⴺ',
41
- h: 'ⵙⴰⵄⴰ',
42
- hh: '%d ⵜⴰⵙⵙⴰⵄⵉⵏ',
43
- d: 'ⴰⵙⵙ',
44
- dd: '%d oⵙⵙⴰⵏ',
45
- M: 'ⴰⵢoⵓⵔ',
46
- MM: '%d ⵉⵢⵢⵉⵔⵏ',
47
- y: 'ⴰⵙⴳⴰⵙ',
48
- yy: '%d ⵉⵙⴳⴰⵙⵏ',
49
- },
50
- week: {
51
- dow: 6, // Saturday is the first day of the week.
52
- doy: 12, // The week that contains Jan 12th is the first week of the year.
53
- },
54
- });
18
+ monthsShort:
19
+ 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split(
20
+ '_'
21
+ ),
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
+ },
33
+ calendar: {
34
+ sameDay: '[ⴰⵙⴷⵅ ⴴ] LT',
35
+ nextDay: '[ⴰⵙⴽⴰ ⴴ] LT',
36
+ nextWeek: 'dddd [ⴴ] LT',
37
+ lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT',
38
+ lastWeek: 'dddd [ⴴ] LT',
39
+ sameElse: 'L',
40
+ },
41
+ relativeTime: {
42
+ future: 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s',
43
+ past: 'ⵢⴰⵏ %s',
44
+ s: 'ⵉⵎⵉⴽ',
45
+ ss: '%d ⵉⵎⵉⴽ',
46
+ m: 'ⵎⵉⵏⵓⴺ',
47
+ mm: '%d ⵎⵉⵏⵓⴺ',
48
+ h: 'ⵙⴰⵄⴰ',
49
+ hh: '%d ⵜⴰⵙⵙⴰⵄⵉⵏ',
50
+ d: 'ⴰⵙⵙ',
51
+ dd: '%d oⵙⵙⴰⵏ',
52
+ M: 'ⴰⵢoⵓⵔ',
53
+ MM: '%d ⵉⵢⵢⵉⵔⵏ',
54
+ y: 'ⴰⵙⴳⴰⵙ',
55
+ yy: '%d ⵉⵙⴳⴰⵙⵏ',
56
+ },
57
+ week: {
58
+ dow: 6, // Saturday is the first day of the week.
59
+ doy: 12, // The week that contains Jan 12th is the first week of the year.
60
+ },
61
+ });
62
+
63
+ return tzm;
64
+
65
+ })));
@@ -2,110 +2,121 @@
2
2
  //! locale : Uyghur (China) [ug-cn]
3
3
  //! author: boyaq : https://github.com/boyaq
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
- export default moment.defineLocale('ug-cn', {
8
- months: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split(
9
- '_'
10
- ),
11
- monthsShort:
12
- 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split(
12
+ //! moment.js locale configuration
13
+
14
+ var ugCn = moment.defineLocale('ug-cn', {
15
+ months: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split(
16
+ '_'
17
+ ),
18
+ monthsShort:
19
+ 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split(
20
+ '_'
21
+ ),
22
+ weekdays: 'يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە'.split(
13
23
  '_'
14
24
  ),
15
- weekdays: 'يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە'.split(
16
- '_'
17
- ),
18
- weekdaysShort: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'),
19
- weekdaysMin: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'),
20
- longDateFormat: {
21
- LT: 'HH:mm',
22
- LTS: 'HH:mm:ss',
23
- L: 'YYYY-MM-DD',
24
- LL: 'YYYY-يىلىM-ئاينىڭD-كۈنى',
25
- LLL: 'YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm',
26
- LLLL: 'dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm',
27
- },
28
- meridiemParse: /يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,
29
- meridiemHour: function (hour, meridiem) {
30
- if (hour === 12) {
31
- hour = 0;
32
- }
33
- if (
34
- meridiem === 'يېرىم كېچە' ||
35
- meridiem === 'سەھەر' ||
36
- meridiem === 'چۈشتىن بۇرۇن'
37
- ) {
38
- return hour;
39
- } else if (meridiem === 'چۈشتىن كېيىن' || meridiem === 'كەچ') {
40
- return hour + 12;
41
- } else {
42
- return hour >= 11 ? hour : hour + 12;
43
- }
44
- },
45
- meridiem: function (hour, minute, isLower) {
46
- var hm = hour * 100 + minute;
47
- if (hm < 600) {
48
- return 'يېرىم كېچە';
49
- } else if (hm < 900) {
50
- return 'سەھەر';
51
- } else if (hm < 1130) {
52
- return 'چۈشتىن بۇرۇن';
53
- } else if (hm < 1230) {
54
- return 'چۈش';
55
- } else if (hm < 1800) {
56
- return 'چۈشتىن كېيىن';
57
- } else {
58
- return 'كەچ';
59
- }
60
- },
61
- calendar: {
62
- sameDay: '[بۈگۈن سائەت] LT',
63
- nextDay: '[ئەتە سائەت] LT',
64
- nextWeek: '[كېلەركى] dddd [سائەت] LT',
65
- lastDay: '[تۆنۈگۈن] LT',
66
- lastWeek: '[ئالدىنقى] dddd [سائەت] LT',
67
- sameElse: 'L',
68
- },
69
- relativeTime: {
70
- future: '%s كېيىن',
71
- past: '%s بۇرۇن',
72
- s: 'نەچچە سېكونت',
73
- ss: '%d سېكونت',
74
- m: 'بىر مىنۇت',
75
- mm: '%d مىنۇت',
76
- h: 'بىر سائەت',
77
- hh: '%d سائەت',
78
- d: 'بىر كۈن',
79
- dd: '%d كۈن',
80
- M: 'بىر ئاي',
81
- MM: '%d ئاي',
82
- y: 'بىر يىل',
83
- yy: '%d يىل',
84
- },
25
+ weekdaysShort: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'),
26
+ weekdaysMin: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'),
27
+ longDateFormat: {
28
+ LT: 'HH:mm',
29
+ LTS: 'HH:mm:ss',
30
+ L: 'YYYY-MM-DD',
31
+ LL: 'YYYY-يىلىM-ئاينىڭD-كۈنى',
32
+ LLL: 'YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm',
33
+ LLLL: 'dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm',
34
+ },
35
+ meridiemParse: /يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,
36
+ meridiemHour: function (hour, meridiem) {
37
+ if (hour === 12) {
38
+ hour = 0;
39
+ }
40
+ if (
41
+ meridiem === 'يېرىم كېچە' ||
42
+ meridiem === 'سەھەر' ||
43
+ meridiem === 'چۈشتىن بۇرۇن'
44
+ ) {
45
+ return hour;
46
+ } else if (meridiem === 'چۈشتىن كېيىن' || meridiem === 'كەچ') {
47
+ return hour + 12;
48
+ } else {
49
+ return hour >= 11 ? hour : hour + 12;
50
+ }
51
+ },
52
+ meridiem: function (hour, minute, isLower) {
53
+ var hm = hour * 100 + minute;
54
+ if (hm < 600) {
55
+ return 'يېرىم كېچە';
56
+ } else if (hm < 900) {
57
+ return 'سەھەر';
58
+ } else if (hm < 1130) {
59
+ return 'چۈشتىن بۇرۇن';
60
+ } else if (hm < 1230) {
61
+ return 'چۈش';
62
+ } else if (hm < 1800) {
63
+ return 'چۈشتىن كېيىن';
64
+ } else {
65
+ return 'كەچ';
66
+ }
67
+ },
68
+ calendar: {
69
+ sameDay: '[بۈگۈن سائەت] LT',
70
+ nextDay: '[ئەتە سائەت] LT',
71
+ nextWeek: '[كېلەركى] dddd [سائەت] LT',
72
+ lastDay: '[تۆنۈگۈن] LT',
73
+ lastWeek: '[ئالدىنقى] dddd [سائەت] LT',
74
+ sameElse: 'L',
75
+ },
76
+ relativeTime: {
77
+ future: '%s كېيىن',
78
+ past: '%s بۇرۇن',
79
+ s: 'نەچچە سېكونت',
80
+ ss: '%d سېكونت',
81
+ m: 'بىر مىنۇت',
82
+ mm: '%d مىنۇت',
83
+ h: 'بىر سائەت',
84
+ hh: '%d سائەت',
85
+ d: 'بىر كۈن',
86
+ dd: '%d كۈن',
87
+ M: 'بىر ئاي',
88
+ MM: '%d ئاي',
89
+ y: 'بىر يىل',
90
+ yy: '%d يىل',
91
+ },
92
+
93
+ dayOfMonthOrdinalParse: /\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,
94
+ ordinal: function (number, period) {
95
+ switch (period) {
96
+ case 'd':
97
+ case 'D':
98
+ case 'DDD':
99
+ return number + '-كۈنى';
100
+ case 'w':
101
+ case 'W':
102
+ return number + '-ھەپتە';
103
+ default:
104
+ return number;
105
+ }
106
+ },
107
+ preparse: function (string) {
108
+ return string.replace(/،/g, ',');
109
+ },
110
+ postformat: function (string) {
111
+ return string.replace(/,/g, '،');
112
+ },
113
+ week: {
114
+ // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
115
+ dow: 1, // Monday is the first day of the week.
116
+ doy: 7, // The week that contains Jan 1st is the first week of the year.
117
+ },
118
+ });
119
+
120
+ return ugCn;
85
121
 
86
- dayOfMonthOrdinalParse: /\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,
87
- ordinal: function (number, period) {
88
- switch (period) {
89
- case 'd':
90
- case 'D':
91
- case 'DDD':
92
- return number + '-كۈنى';
93
- case 'w':
94
- case 'W':
95
- return number + '-ھەپتە';
96
- default:
97
- return number;
98
- }
99
- },
100
- preparse: function (string) {
101
- return string.replace(/،/g, ',');
102
- },
103
- postformat: function (string) {
104
- return string.replace(/,/g, '،');
105
- },
106
- week: {
107
- // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
108
- dow: 1, // Monday is the first day of the week.
109
- doy: 7, // The week that contains Jan 1st is the first week of the year.
110
- },
111
- });
122
+ })));