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,139 +4,150 @@
4
4
  //! author: Praleska: http://praleska.pro/
5
5
  //! Author : Menelion Elensúle : https://github.com/Oire
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
- function plural(word, num) {
10
- var forms = word.split('_');
11
- return num % 10 === 1 && num % 100 !== 11
12
- ? forms[0]
13
- : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20)
14
- ? forms[1]
15
- : forms[2];
16
- }
17
- function relativeTimeWithPlural(number, withoutSuffix, key) {
18
- var format = {
19
- ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд',
20
- mm: withoutSuffix ? 'хвіліна_хвіліны_хвілін' : 'хвіліну_хвіліны_хвілін',
21
- hh: withoutSuffix ? 'гадзіна_гадзіны_гадзін' : 'гадзіну_гадзіны_гадзін',
22
- dd: 'дзень_дні_дзён',
23
- MM: 'месяц_месяцы_месяцаў',
24
- yy: 'год_гады_гадоў',
25
- };
26
- if (key === 'm') {
27
- return withoutSuffix ? 'хвіліна' : 'хвіліну';
28
- } else if (key === 'h') {
29
- return withoutSuffix ? 'гадзіна' : 'гадзіну';
30
- } else {
31
- return number + ' ' + plural(format[key], +number);
14
+ //! moment.js locale configuration
15
+
16
+ function plural(word, num) {
17
+ var forms = word.split('_');
18
+ return num % 10 === 1 && num % 100 !== 11
19
+ ? forms[0]
20
+ : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20)
21
+ ? forms[1]
22
+ : forms[2];
23
+ }
24
+ function relativeTimeWithPlural(number, withoutSuffix, key) {
25
+ var format = {
26
+ ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд',
27
+ mm: withoutSuffix ? 'хвіліна_хвіліны_хвілін' : 'хвіліну_хвіліны_хвілін',
28
+ hh: withoutSuffix ? 'гадзіна_гадзіны_гадзін' : 'гадзіну_гадзіны_гадзін',
29
+ dd: 'дзень_дні_дзён',
30
+ MM: 'месяц_месяцы_месяцаў',
31
+ yy: 'год_гады_гадоў',
32
+ };
33
+ if (key === 'm') {
34
+ return withoutSuffix ? 'хвіліна' : 'хвіліну';
35
+ } else if (key === 'h') {
36
+ return withoutSuffix ? 'гадзіна' : 'гадзіну';
37
+ } else {
38
+ return number + ' ' + plural(format[key], +number);
39
+ }
32
40
  }
33
- }
34
41
 
35
- export default moment.defineLocale('be', {
36
- months: {
37
- format: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split(
38
- '_'
39
- ),
40
- standalone:
41
- 'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split(
42
+ var be = moment.defineLocale('be', {
43
+ months: {
44
+ format: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split(
42
45
  '_'
43
46
  ),
44
- },
45
- monthsShort:
46
- 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split('_'),
47
- weekdays: {
48
- format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split(
49
- '_'
50
- ),
51
- standalone:
52
- 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split(
47
+ standalone:
48
+ 'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split(
49
+ '_'
50
+ ),
51
+ },
52
+ monthsShort:
53
+ 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split('_'),
54
+ weekdays: {
55
+ format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split(
53
56
  '_'
54
57
  ),
55
- isFormat: /\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/,
56
- },
57
- weekdaysShort: 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
58
- weekdaysMin: 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
59
- longDateFormat: {
60
- LT: 'HH:mm',
61
- LTS: 'HH:mm:ss',
62
- L: 'DD.MM.YYYY',
63
- LL: 'D MMMM YYYY г.',
64
- LLL: 'D MMMM YYYY г., HH:mm',
65
- LLLL: 'dddd, D MMMM YYYY г., HH:mm',
66
- },
67
- calendar: {
68
- sameDay: '[Сёння ў] LT',
69
- nextDay: '[Заўтра ў] LT',
70
- lastDay: '[Учора ў] LT',
71
- nextWeek: function () {
72
- return '[У] dddd [ў] LT';
58
+ standalone:
59
+ 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split(
60
+ '_'
61
+ ),
62
+ isFormat: /\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/,
63
+ },
64
+ weekdaysShort: 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
65
+ weekdaysMin: 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
66
+ longDateFormat: {
67
+ LT: 'HH:mm',
68
+ LTS: 'HH:mm:ss',
69
+ L: 'DD.MM.YYYY',
70
+ LL: 'D MMMM YYYY г.',
71
+ LLL: 'D MMMM YYYY г., HH:mm',
72
+ LLLL: 'dddd, D MMMM YYYY г., HH:mm',
73
+ },
74
+ calendar: {
75
+ sameDay: '[Сёння ў] LT',
76
+ nextDay: '[Заўтра ў] LT',
77
+ lastDay: '[Учора ў] LT',
78
+ nextWeek: function () {
79
+ return '[У] dddd [ў] LT';
80
+ },
81
+ lastWeek: function () {
82
+ switch (this.day()) {
83
+ case 0:
84
+ case 3:
85
+ case 5:
86
+ case 6:
87
+ return '[У мінулую] dddd [ў] LT';
88
+ case 1:
89
+ case 2:
90
+ case 4:
91
+ return '[У мінулы] dddd [ў] LT';
92
+ }
93
+ },
94
+ sameElse: 'L',
95
+ },
96
+ relativeTime: {
97
+ future: 'праз %s',
98
+ past: '%s таму',
99
+ s: 'некалькі секунд',
100
+ m: relativeTimeWithPlural,
101
+ mm: relativeTimeWithPlural,
102
+ h: relativeTimeWithPlural,
103
+ hh: relativeTimeWithPlural,
104
+ d: 'дзень',
105
+ dd: relativeTimeWithPlural,
106
+ M: 'месяц',
107
+ MM: relativeTimeWithPlural,
108
+ y: 'год',
109
+ yy: relativeTimeWithPlural,
110
+ },
111
+ meridiemParse: /ночы|раніцы|дня|вечара/,
112
+ isPM: function (input) {
113
+ return /^(дня|вечара)$/.test(input);
73
114
  },
74
- lastWeek: function () {
75
- switch (this.day()) {
76
- case 0:
77
- case 3:
78
- case 5:
79
- case 6:
80
- return '[У мінулую] dddd [ў] LT';
81
- case 1:
82
- case 2:
83
- case 4:
84
- return '[У мінулы] dddd [ў] LT';
115
+ meridiem: function (hour, minute, isLower) {
116
+ if (hour < 4) {
117
+ return 'ночы';
118
+ } else if (hour < 12) {
119
+ return 'раніцы';
120
+ } else if (hour < 17) {
121
+ return 'дня';
122
+ } else {
123
+ return 'вечара';
85
124
  }
86
125
  },
87
- sameElse: 'L',
88
- },
89
- relativeTime: {
90
- future: 'праз %s',
91
- past: '%s таму',
92
- s: 'некалькі секунд',
93
- m: relativeTimeWithPlural,
94
- mm: relativeTimeWithPlural,
95
- h: relativeTimeWithPlural,
96
- hh: relativeTimeWithPlural,
97
- d: 'дзень',
98
- dd: relativeTimeWithPlural,
99
- M: 'месяц',
100
- MM: relativeTimeWithPlural,
101
- y: 'год',
102
- yy: relativeTimeWithPlural,
103
- },
104
- meridiemParse: /ночы|раніцы|дня|вечара/,
105
- isPM: function (input) {
106
- return /^(дня|вечара)$/.test(input);
107
- },
108
- meridiem: function (hour, minute, isLower) {
109
- if (hour < 4) {
110
- return 'ночы';
111
- } else if (hour < 12) {
112
- return 'раніцы';
113
- } else if (hour < 17) {
114
- return 'дня';
115
- } else {
116
- return 'вечара';
117
- }
118
- },
119
- dayOfMonthOrdinalParse: /\d{1,2}-(і|ы|га)/,
120
- ordinal: function (number, period) {
121
- switch (period) {
122
- case 'M':
123
- case 'd':
124
- case 'DDD':
125
- case 'w':
126
- case 'W':
127
- return (number % 10 === 2 || number % 10 === 3) &&
128
- number % 100 !== 12 &&
129
- number % 100 !== 13
130
- ? number + '-і'
131
- : number + '-ы';
132
- case 'D':
133
- return number + '-га';
134
- default:
135
- return number;
136
- }
137
- },
138
- week: {
139
- dow: 1, // Monday is the first day of the week.
140
- doy: 7, // The week that contains Jan 7th is the first week of the year.
141
- },
142
- });
126
+ dayOfMonthOrdinalParse: /\d{1,2}-(і|ы|га)/,
127
+ ordinal: function (number, period) {
128
+ switch (period) {
129
+ case 'M':
130
+ case 'd':
131
+ case 'DDD':
132
+ case 'w':
133
+ case 'W':
134
+ return (number % 10 === 2 || number % 10 === 3) &&
135
+ number % 100 !== 12 &&
136
+ number % 100 !== 13
137
+ ? number + '-і'
138
+ : number + '';
139
+ case 'D':
140
+ return number + '-га';
141
+ default:
142
+ return number;
143
+ }
144
+ },
145
+ week: {
146
+ dow: 1, // Monday is the first day of the week.
147
+ doy: 7, // The week that contains Jan 7th is the first week of the year.
148
+ },
149
+ });
150
+
151
+ return be;
152
+
153
+ })));
@@ -2,86 +2,97 @@
2
2
  //! locale : Bulgarian [bg]
3
3
  //! author : Krasen Borisov : https://github.com/kraz
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('bg', {
8
- months: 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split(
9
- '_'
10
- ),
11
- monthsShort: 'яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split('_'),
12
- weekdays: 'неделя_понеделник_вторник_сряда_четвъртък_петък_събота'.split(
13
- '_'
14
- ),
15
- weekdaysShort: 'нед_пон_вто_сря_чет_пет_съб'.split('_'),
16
- weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
17
- longDateFormat: {
18
- LT: 'H:mm',
19
- LTS: 'H:mm:ss',
20
- L: 'D.MM.YYYY',
21
- LL: 'D MMMM YYYY',
22
- LLL: 'D MMMM YYYY H:mm',
23
- LLLL: 'dddd, D MMMM YYYY H:mm',
24
- },
25
- calendar: {
26
- sameDay: '[Днес в] LT',
27
- nextDay: '[Утре в] LT',
28
- nextWeek: 'dddd [в] LT',
29
- lastDay: '[Вчера в] LT',
30
- lastWeek: function () {
31
- switch (this.day()) {
32
- case 0:
33
- case 3:
34
- case 6:
35
- return '[Миналата] dddd [в] LT';
36
- case 1:
37
- case 2:
38
- case 4:
39
- case 5:
40
- return '[Миналия] dddd [в] LT';
12
+ //! moment.js locale configuration
13
+
14
+ var bg = moment.defineLocale('bg', {
15
+ months: 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split(
16
+ '_'
17
+ ),
18
+ monthsShort: 'яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split('_'),
19
+ weekdays: 'неделя_понеделник_вторник_сряда_четвъртък_петък_събота'.split(
20
+ '_'
21
+ ),
22
+ weekdaysShort: 'нед_пон_вто_сря_чет_пет_съб'.split('_'),
23
+ weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
24
+ longDateFormat: {
25
+ LT: 'H:mm',
26
+ LTS: 'H:mm:ss',
27
+ L: 'D.MM.YYYY',
28
+ LL: 'D MMMM YYYY',
29
+ LLL: 'D MMMM YYYY H:mm',
30
+ LLLL: 'dddd, D MMMM YYYY H:mm',
31
+ },
32
+ calendar: {
33
+ sameDay: '[Днес в] LT',
34
+ nextDay: '[Утре в] LT',
35
+ nextWeek: 'dddd [в] LT',
36
+ lastDay: '[Вчера в] LT',
37
+ lastWeek: function () {
38
+ switch (this.day()) {
39
+ case 0:
40
+ case 3:
41
+ case 6:
42
+ return '[Миналата] dddd [в] LT';
43
+ case 1:
44
+ case 2:
45
+ case 4:
46
+ case 5:
47
+ return '[Миналия] dddd [в] LT';
48
+ }
49
+ },
50
+ sameElse: 'L',
51
+ },
52
+ relativeTime: {
53
+ future: 'след %s',
54
+ past: 'преди %s',
55
+ s: 'няколко секунди',
56
+ ss: '%d секунди',
57
+ m: 'минута',
58
+ mm: '%d минути',
59
+ h: 'час',
60
+ hh: '%d часа',
61
+ d: 'ден',
62
+ dd: '%d дена',
63
+ w: 'седмица',
64
+ ww: '%d седмици',
65
+ M: 'месец',
66
+ MM: '%d месеца',
67
+ y: 'година',
68
+ yy: '%d години',
69
+ },
70
+ dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
71
+ ordinal: function (number) {
72
+ var lastDigit = number % 10,
73
+ last2Digits = number % 100;
74
+ if (number === 0) {
75
+ return number + '-ев';
76
+ } else if (last2Digits === 0) {
77
+ return number + '-ен';
78
+ } else if (last2Digits > 10 && last2Digits < 20) {
79
+ return number + '-ти';
80
+ } else if (lastDigit === 1) {
81
+ return number + '-ви';
82
+ } else if (lastDigit === 2) {
83
+ return number + '-ри';
84
+ } else if (lastDigit === 7 || lastDigit === 8) {
85
+ return number + '-ми';
86
+ } else {
87
+ return number + '-ти';
41
88
  }
42
89
  },
43
- sameElse: 'L',
44
- },
45
- relativeTime: {
46
- future: 'след %s',
47
- past: 'преди %s',
48
- s: 'няколко секунди',
49
- ss: '%d секунди',
50
- m: 'минута',
51
- mm: '%d минути',
52
- h: 'час',
53
- hh: '%d часа',
54
- d: 'ден',
55
- dd: '%d дена',
56
- w: 'седмица',
57
- ww: '%d седмици',
58
- M: 'месец',
59
- MM: '%d месеца',
60
- y: 'година',
61
- yy: '%d години',
62
- },
63
- dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
64
- ordinal: function (number) {
65
- var lastDigit = number % 10,
66
- last2Digits = number % 100;
67
- if (number === 0) {
68
- return number + '-ев';
69
- } else if (last2Digits === 0) {
70
- return number + '-ен';
71
- } else if (last2Digits > 10 && last2Digits < 20) {
72
- return number + '-ти';
73
- } else if (lastDigit === 1) {
74
- return number + '-ви';
75
- } else if (lastDigit === 2) {
76
- return number + '-ри';
77
- } else if (lastDigit === 7 || lastDigit === 8) {
78
- return number + '-ми';
79
- } else {
80
- return number + '-ти';
81
- }
82
- },
83
- week: {
84
- dow: 1, // Monday is the first day of the week.
85
- doy: 7, // The week that contains Jan 7th is the first week of the year.
86
- },
87
- });
90
+ week: {
91
+ dow: 1, // Monday is the first day of the week.
92
+ doy: 7, // The week that contains Jan 7th is the first week of the year.
93
+ },
94
+ });
95
+
96
+ return bg;
97
+
98
+ })));
@@ -1,52 +1,62 @@
1
1
  //! moment.js locale configuration
2
2
  //! locale : Bambara [bm]
3
3
  //! author : Estelle Comment : https://github.com/estellecomment
4
- // Language contact person : Abdoufata Kane : https://github.com/abdoufata
5
4
 
6
- 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';
7
11
 
8
- export default moment.defineLocale('bm', {
9
- months: 'Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo'.split(
10
- '_'
11
- ),
12
- monthsShort: 'Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des'.split('_'),
13
- weekdays: 'Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri'.split('_'),
14
- weekdaysShort: 'Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib'.split('_'),
15
- weekdaysMin: 'Ka_Nt_Ta_Ar_Al_Ju_Si'.split('_'),
16
- longDateFormat: {
17
- LT: 'HH:mm',
18
- LTS: 'HH:mm:ss',
19
- L: 'DD/MM/YYYY',
20
- LL: 'MMMM [tile] D [san] YYYY',
21
- LLL: 'MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm',
22
- LLLL: 'dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm',
23
- },
24
- calendar: {
25
- sameDay: '[Bi lɛrɛ] LT',
26
- nextDay: '[Sini lɛrɛ] LT',
27
- nextWeek: 'dddd [don lɛrɛ] LT',
28
- lastDay: '[Kunu lɛrɛ] LT',
29
- lastWeek: 'dddd [tɛmɛnen lɛrɛ] LT',
30
- sameElse: 'L',
31
- },
32
- relativeTime: {
33
- future: '%s kɔnɔ',
34
- past: 'a bɛ %s bɔ',
35
- s: 'sanga dama dama',
36
- ss: 'sekondi %d',
37
- m: 'miniti kelen',
38
- mm: 'miniti %d',
39
- h: 'lɛrɛ kelen',
40
- hh: 'lɛrɛ %d',
41
- d: 'tile kelen',
42
- dd: 'tile %d',
43
- M: 'kalo kelen',
44
- MM: 'kalo %d',
45
- y: 'san kelen',
46
- yy: 'san %d',
47
- },
48
- week: {
49
- dow: 1, // Monday is the first day of the week.
50
- doy: 4, // The week that contains Jan 4th is the first week of the year.
51
- },
52
- });
12
+ //! moment.js locale configuration
13
+
14
+ var bm = moment.defineLocale('bm', {
15
+ months: 'Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo'.split(
16
+ '_'
17
+ ),
18
+ monthsShort: 'Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des'.split('_'),
19
+ weekdays: 'Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri'.split('_'),
20
+ weekdaysShort: 'Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib'.split('_'),
21
+ weekdaysMin: 'Ka_Nt_Ta_Ar_Al_Ju_Si'.split('_'),
22
+ longDateFormat: {
23
+ LT: 'HH:mm',
24
+ LTS: 'HH:mm:ss',
25
+ L: 'DD/MM/YYYY',
26
+ LL: 'MMMM [tile] D [san] YYYY',
27
+ LLL: 'MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm',
28
+ LLLL: 'dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm',
29
+ },
30
+ calendar: {
31
+ sameDay: '[Bi lɛrɛ] LT',
32
+ nextDay: '[Sini lɛrɛ] LT',
33
+ nextWeek: 'dddd [don lɛrɛ] LT',
34
+ lastDay: '[Kunu lɛrɛ] LT',
35
+ lastWeek: 'dddd [tɛmɛnen lɛrɛ] LT',
36
+ sameElse: 'L',
37
+ },
38
+ relativeTime: {
39
+ future: '%s kɔnɔ',
40
+ past: 'a %s bɔ',
41
+ s: 'sanga dama dama',
42
+ ss: 'sekondi %d',
43
+ m: 'miniti kelen',
44
+ mm: 'miniti %d',
45
+ h: 'lɛrɛ kelen',
46
+ hh: 'lɛrɛ %d',
47
+ d: 'tile kelen',
48
+ dd: 'tile %d',
49
+ M: 'kalo kelen',
50
+ MM: 'kalo %d',
51
+ y: 'san kelen',
52
+ yy: 'san %d',
53
+ },
54
+ week: {
55
+ dow: 1, // Monday is the first day of the week.
56
+ doy: 4, // The week that contains Jan 4th is the first week of the year.
57
+ },
58
+ });
59
+
60
+ return bm;
61
+
62
+ })));