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
@@ -2,50 +2,61 @@
2
2
  //! locale : Uzbek [uz]
3
3
  //! author : Sardor Muminov : https://github.com/muminoff
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('uz', {
8
- months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split(
9
- '_'
10
- ),
11
- monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'),
12
- weekdays: 'Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба'.split('_'),
13
- weekdaysShort: 'Якш_Душ_Сеш_Чор_Пай_Жум_Шан'.split('_'),
14
- weekdaysMin: 'Як_Ду_Се_Чо_Па_Жу_Ша'.split('_'),
15
- longDateFormat: {
16
- LT: 'HH:mm',
17
- LTS: 'HH:mm:ss',
18
- L: 'DD/MM/YYYY',
19
- LL: 'D MMMM YYYY',
20
- LLL: 'D MMMM YYYY HH:mm',
21
- LLLL: 'D MMMM YYYY, dddd HH:mm',
22
- },
23
- calendar: {
24
- sameDay: '[Бугун соат] LT [да]',
25
- nextDay: '[Эртага] LT [да]',
26
- nextWeek: 'dddd [куни соат] LT [да]',
27
- lastDay: '[Кеча соат] LT [да]',
28
- lastWeek: '[Утган] dddd [куни соат] LT [да]',
29
- sameElse: 'L',
30
- },
31
- relativeTime: {
32
- future: 'Якин %s ичида',
33
- past: 'Бир неча %s олдин',
34
- s: 'фурсат',
35
- ss: '%d фурсат',
36
- m: 'бир дакика',
37
- mm: '%d дакика',
38
- h: 'бир соат',
39
- hh: '%d соат',
40
- d: 'бир кун',
41
- dd: '%d кун',
42
- M: 'бир ой',
43
- MM: '%d ой',
44
- y: 'бир йил',
45
- yy: '%d йил',
46
- },
47
- week: {
48
- dow: 1, // Monday is the first day of the week.
49
- doy: 7, // The week that contains Jan 4th is the first week of the year.
50
- },
51
- });
12
+ //! moment.js locale configuration
13
+
14
+ var uz = moment.defineLocale('uz', {
15
+ months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split(
16
+ '_'
17
+ ),
18
+ monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'),
19
+ weekdays: 'Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба'.split('_'),
20
+ weekdaysShort: 'Якш_Душ_Сеш_Чор_Пай_Жум_Шан'.split('_'),
21
+ weekdaysMin: 'Як_Ду_Се_Чо_Па_Жу_Ша'.split('_'),
22
+ longDateFormat: {
23
+ LT: 'HH:mm',
24
+ LTS: 'HH:mm:ss',
25
+ L: 'DD/MM/YYYY',
26
+ LL: 'D MMMM YYYY',
27
+ LLL: 'D MMMM YYYY HH:mm',
28
+ LLLL: 'D MMMM YYYY, dddd 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: '%d соат',
47
+ d: 'бир кун',
48
+ dd: '%d кун',
49
+ M: 'бир ой',
50
+ MM: '%d ой',
51
+ y: 'бир йил',
52
+ yy: '%d йил',
53
+ },
54
+ week: {
55
+ dow: 1, // Monday is the first day of the week.
56
+ doy: 7, // The week that contains Jan 4th is the first week of the year.
57
+ },
58
+ });
59
+
60
+ return uz;
61
+
62
+ })));
@@ -3,78 +3,89 @@
3
3
  //! author : Bang Nguyen : https://github.com/bangnk
4
4
  //! author : Chien Kira : https://github.com/chienkira
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
- export default moment.defineLocale('vi', {
9
- 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(
10
- '_'
11
- ),
12
- monthsShort:
13
- 'Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12'.split(
13
+ //! moment.js locale configuration
14
+
15
+ var vi = moment.defineLocale('vi', {
16
+ 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(
17
+ '_'
18
+ ),
19
+ monthsShort:
20
+ 'Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12'.split(
21
+ '_'
22
+ ),
23
+ monthsParseExact: true,
24
+ weekdays: 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split(
14
25
  '_'
15
26
  ),
16
- monthsParseExact: true,
17
- weekdays: 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split(
18
- '_'
19
- ),
20
- weekdaysShort: 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
21
- weekdaysMin: 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
22
- weekdaysParseExact: true,
23
- meridiemParse: /sa|ch/i,
24
- isPM: function (input) {
25
- return /^ch$/i.test(input);
26
- },
27
- meridiem: function (hours, minutes, isLower) {
28
- if (hours < 12) {
29
- return isLower ? 'sa' : 'SA';
30
- } else {
31
- return isLower ? 'ch' : 'CH';
32
- }
33
- },
34
- longDateFormat: {
35
- LT: 'HH:mm',
36
- LTS: 'HH:mm:ss',
37
- L: 'DD/MM/YYYY',
38
- LL: 'D MMMM [năm] YYYY',
39
- LLL: 'D MMMM [năm] YYYY HH:mm',
40
- LLLL: 'dddd, D MMMM [năm] YYYY HH:mm',
41
- l: 'DD/M/YYYY',
42
- ll: 'D MMM YYYY',
43
- lll: 'D MMM YYYY HH:mm',
44
- llll: 'ddd, D MMM YYYY HH:mm',
45
- },
46
- calendar: {
47
- sameDay: '[Hôm nay lúc] LT',
48
- nextDay: '[Ngày mai lúc] LT',
49
- nextWeek: 'dddd [tuần tới lúc] LT',
50
- lastDay: '[Hôm qua lúc] LT',
51
- lastWeek: 'dddd [tuần trước lúc] LT',
52
- sameElse: 'L',
53
- },
54
- relativeTime: {
55
- future: '%s tới',
56
- past: '%s trước',
57
- s: 'vài giây',
58
- ss: '%d giây',
59
- m: 'một phút',
60
- mm: '%d phút',
61
- h: 'một giờ',
62
- hh: '%d giờ',
63
- d: 'một ngày',
64
- dd: '%d ngày',
65
- w: 'một tuần',
66
- ww: '%d tuần',
67
- M: 'một tháng',
68
- MM: '%d tháng',
69
- y: 'một năm',
70
- yy: '%d năm',
71
- },
72
- dayOfMonthOrdinalParse: /\d{1,2}/,
73
- ordinal: function (number) {
74
- return number;
75
- },
76
- week: {
77
- dow: 1, // Monday is the first day of the week.
78
- doy: 4, // The week that contains Jan 4th is the first week of the year.
79
- },
80
- });
27
+ weekdaysShort: 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
28
+ weekdaysMin: 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
29
+ weekdaysParseExact: true,
30
+ meridiemParse: /sa|ch/i,
31
+ isPM: function (input) {
32
+ return /^ch$/i.test(input);
33
+ },
34
+ meridiem: function (hours, minutes, isLower) {
35
+ if (hours < 12) {
36
+ return isLower ? 'sa' : 'SA';
37
+ } else {
38
+ return isLower ? 'ch' : 'CH';
39
+ }
40
+ },
41
+ longDateFormat: {
42
+ LT: 'HH:mm',
43
+ LTS: 'HH:mm:ss',
44
+ L: 'DD/MM/YYYY',
45
+ LL: 'D MMMM [năm] YYYY',
46
+ LLL: 'D MMMM [năm] YYYY HH:mm',
47
+ LLLL: 'dddd, D MMMM [năm] YYYY HH:mm',
48
+ l: 'DD/M/YYYY',
49
+ ll: 'D MMM YYYY',
50
+ lll: 'D MMM YYYY HH:mm',
51
+ llll: 'ddd, D MMM YYYY HH:mm',
52
+ },
53
+ calendar: {
54
+ sameDay: '[Hôm nay lúc] LT',
55
+ nextDay: '[Ngày mai lúc] LT',
56
+ nextWeek: 'dddd [tuần tới lúc] LT',
57
+ lastDay: '[Hôm qua lúc] LT',
58
+ lastWeek: 'dddd [tuần trước lúc] LT',
59
+ sameElse: 'L',
60
+ },
61
+ relativeTime: {
62
+ future: '%s tới',
63
+ past: '%s trước',
64
+ s: 'vài giây',
65
+ ss: '%d giây',
66
+ m: 'một phút',
67
+ mm: '%d phút',
68
+ h: 'một giờ',
69
+ hh: '%d giờ',
70
+ d: 'một ngày',
71
+ dd: '%d ngày',
72
+ w: 'một tuần',
73
+ ww: '%d tuần',
74
+ M: 'một tháng',
75
+ MM: '%d tháng',
76
+ y: 'một năm',
77
+ yy: '%d năm',
78
+ },
79
+ dayOfMonthOrdinalParse: /\d{1,2}/,
80
+ ordinal: function (number) {
81
+ return number;
82
+ },
83
+ week: {
84
+ dow: 1, // Monday is the first day of the week.
85
+ doy: 4, // The week that contains Jan 4th is the first week of the year.
86
+ },
87
+ });
88
+
89
+ return vi;
90
+
91
+ })));
@@ -2,72 +2,83 @@
2
2
  //! locale : Pseudo [x-pseudo]
3
3
  //! author : Andrew Hood : https://github.com/andrewhood125
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('x-pseudo', {
8
- 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(
9
- '_'
10
- ),
11
- monthsShort:
12
- 'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split(
13
- '_'
14
- ),
15
- monthsParseExact: true,
16
- weekdays:
17
- 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split(
12
+ //! moment.js locale configuration
13
+
14
+ var xPseudo = moment.defineLocale('x-pseudo', {
15
+ 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(
18
16
  '_'
19
17
  ),
20
- weekdaysShort: 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'),
21
- weekdaysMin: 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'),
22
- weekdaysParseExact: true,
23
- longDateFormat: {
24
- LT: 'HH:mm',
25
- L: 'DD/MM/YYYY',
26
- LL: 'D MMMM YYYY',
27
- LLL: 'D MMMM YYYY HH:mm',
28
- LLLL: 'dddd, D MMMM YYYY HH:mm',
29
- },
30
- calendar: {
31
- sameDay: '[T~ódá~ý át] LT',
32
- nextDay: '[T~ómó~rró~w át] LT',
33
- nextWeek: 'dddd [át] LT',
34
- lastDay: '[Ý~ést~érdá~ý át] LT',
35
- lastWeek: '[L~ást] dddd [át] LT',
36
- sameElse: 'L',
37
- },
38
- relativeTime: {
39
- future: 'í~ñ %s',
40
- past: '%s á~gó',
41
- s: 'á ~féw ~sécó~ñds',
42
- ss: '%d s~écóñ~ds',
43
- m: 'á ~míñ~úté',
44
- mm: '%d m~íñú~tés',
45
- h: 'á~ñ hó~úr',
46
- hh: '%d h~óúrs',
47
- d: 'á ~dáý',
48
- dd: '%d d~áýs',
49
- M: 'á ~móñ~th',
50
- MM: '%d m~óñt~hs',
51
- y: 'á ~ýéár',
52
- yy: '%d ý~éárs',
53
- },
54
- dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
55
- ordinal: function (number) {
56
- var b = number % 10,
57
- output =
58
- ~~((number % 100) / 10) === 1
59
- ? 'th'
60
- : b === 1
61
- ? 'st'
62
- : b === 2
63
- ? 'nd'
64
- : b === 3
65
- ? 'rd'
66
- : 'th';
67
- return number + output;
68
- },
69
- week: {
70
- dow: 1, // Monday is the first day of the week.
71
- doy: 4, // The week that contains Jan 4th is the first week of the year.
72
- },
73
- });
18
+ monthsShort:
19
+ 'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split(
20
+ '_'
21
+ ),
22
+ monthsParseExact: true,
23
+ weekdays:
24
+ 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split(
25
+ '_'
26
+ ),
27
+ weekdaysShort: 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'),
28
+ weekdaysMin: 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'),
29
+ weekdaysParseExact: true,
30
+ longDateFormat: {
31
+ LT: 'HH:mm',
32
+ L: 'DD/MM/YYYY',
33
+ LL: 'D MMMM YYYY',
34
+ LLL: 'D MMMM YYYY HH:mm',
35
+ LLLL: 'dddd, D MMMM YYYY HH:mm',
36
+ },
37
+ calendar: {
38
+ sameDay: '[T~ódá~ý át] LT',
39
+ nextDay: '[T~ómó~rró~w át] LT',
40
+ nextWeek: 'dddd [át] LT',
41
+ lastDay: '[Ý~ést~érdá~ý át] LT',
42
+ lastWeek: '[L~ást] dddd [át] LT',
43
+ sameElse: 'L',
44
+ },
45
+ relativeTime: {
46
+ future: 'í~ñ %s',
47
+ past: '%s á~gó',
48
+ s: 'á ~féw ~sécó~ñds',
49
+ ss: '%d s~écóñ~ds',
50
+ m: 'á ~míñ~úté',
51
+ mm: '%d m~íñú~tés',
52
+ h: 'á~ñ hó~úr',
53
+ hh: '%d h~óúrs',
54
+ d: ~dáý',
55
+ dd: '%d d~áýs',
56
+ M: ~móñ~th',
57
+ MM: '%d m~óñt~hs',
58
+ y: ~ýéár',
59
+ yy: '%d ý~éárs',
60
+ },
61
+ dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
62
+ ordinal: function (number) {
63
+ var b = number % 10,
64
+ output =
65
+ ~~((number % 100) / 10) === 1
66
+ ? 'th'
67
+ : b === 1
68
+ ? 'st'
69
+ : b === 2
70
+ ? 'nd'
71
+ : b === 3
72
+ ? 'rd'
73
+ : 'th';
74
+ return number + output;
75
+ },
76
+ week: {
77
+ dow: 1, // Monday is the first day of the week.
78
+ doy: 4, // The week that contains Jan 4th is the first week of the year.
79
+ },
80
+ });
81
+
82
+ return xPseudo;
83
+
84
+ })));
@@ -2,52 +2,63 @@
2
2
  //! locale : Yoruba Nigeria [yo]
3
3
  //! author : Atolagbe Abisoye : https://github.com/andela-batolagbe
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('yo', {
8
- months: 'Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀'.split(
9
- '_'
10
- ),
11
- monthsShort: 'Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀'.split('_'),
12
- weekdays: 'Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta'.split('_'),
13
- weekdaysShort: 'Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá'.split('_'),
14
- weekdaysMin: 'Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb'.split('_'),
15
- longDateFormat: {
16
- LT: 'h:mm A',
17
- LTS: 'h:mm:ss A',
18
- L: 'DD/MM/YYYY',
19
- LL: 'D MMMM YYYY',
20
- LLL: 'D MMMM YYYY h:mm A',
21
- LLLL: 'dddd, D MMMM YYYY h:mm A',
22
- },
23
- calendar: {
24
- sameDay: '[Ònì ni] LT',
25
- nextDay: '[Ọ̀la ni] LT',
26
- nextWeek: "dddd [Ọsẹ̀ tón'bọ] [ni] LT",
27
- lastDay: '[Àna ni] LT',
28
- lastWeek: 'dddd [Ọsẹ̀ tólọ́] [ni] LT',
29
- sameElse: 'L',
30
- },
31
- relativeTime: {
32
- future: 'ní %s',
33
- past: '%s kọjá',
34
- s: 'ìsẹjú aayá die',
35
- ss: 'aayá %d',
36
- m: 'ìsẹjú kan',
37
- mm: 'ìsẹjú %d',
38
- h: 'wákati kan',
39
- hh: 'wákati %d',
40
- d: 'ọjọ́ kan',
41
- dd: 'ọjọ́ %d',
42
- M: 'osù kan',
43
- MM: 'osù %d',
44
- y: 'ọdún kan',
45
- yy: 'ọdún %d',
46
- },
47
- dayOfMonthOrdinalParse: /ọjọ́\s\d{1,2}/,
48
- ordinal: 'ọjọ́ %d',
49
- week: {
50
- dow: 1, // Monday is the first day of the week.
51
- doy: 4, // The week that contains Jan 4th is the first week of the year.
52
- },
53
- });
12
+ //! moment.js locale configuration
13
+
14
+ var yo = moment.defineLocale('yo', {
15
+ months: 'Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀'.split(
16
+ '_'
17
+ ),
18
+ monthsShort: 'Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀'.split('_'),
19
+ weekdays: 'Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta'.split('_'),
20
+ weekdaysShort: 'Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá'.split('_'),
21
+ weekdaysMin: 'Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb'.split('_'),
22
+ longDateFormat: {
23
+ LT: 'h:mm A',
24
+ LTS: 'h:mm:ss A',
25
+ L: 'DD/MM/YYYY',
26
+ LL: 'D MMMM YYYY',
27
+ LLL: 'D MMMM YYYY h:mm A',
28
+ LLLL: 'dddd, D MMMM YYYY h:mm A',
29
+ },
30
+ calendar: {
31
+ sameDay: '[nì ni] LT',
32
+ nextDay: '[Ọ̀la ni] LT',
33
+ nextWeek: "dddd [Ọsẹ̀ tón'bọ] [ni] LT",
34
+ lastDay: '[Àna ni] LT',
35
+ lastWeek: 'dddd [Ọsẹ̀ tólọ́] [ni] LT',
36
+ sameElse: 'L',
37
+ },
38
+ relativeTime: {
39
+ future: 'ní %s',
40
+ past: '%s kọjá',
41
+ s: 'ìsẹjú aayá die',
42
+ ss: 'aayá %d',
43
+ m: 'ìsẹjú kan',
44
+ mm: 'ìsẹjú %d',
45
+ h: 'wákati kan',
46
+ hh: 'wákati %d',
47
+ d: 'ọjọ́ kan',
48
+ dd: 'ọjọ́ %d',
49
+ M: 'osù kan',
50
+ MM: 'osù %d',
51
+ y: 'ọdún kan',
52
+ yy: 'ọdún %d',
53
+ },
54
+ dayOfMonthOrdinalParse: /ọjọ́\s\d{1,2}/,
55
+ ordinal: 'ọjọ́ %d',
56
+ week: {
57
+ dow: 1, // Monday is the first day of the week.
58
+ doy: 4, // The week that contains Jan 4th is the first week of the year.
59
+ },
60
+ });
61
+
62
+ return yo;
63
+
64
+ })));