momentjs-rails 2.29.1.1 → 2.29.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (191) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/news.md +3 -0
  4. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/0t/0ty_fqRlzF-hGYQebubBsuGgCeT9YnqkULkaCu1nwMk.cache +0 -0
  5. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/{3T/3TjWGZFWBLAEGSW7kQIDJIL6_MukMwz_wLDMwgYsN1E.cache → 3D/3DLOuccQFCZCWz_kmyP6PagEyQM5ne4ONIzBwdwG-fY.cache} +0 -0
  6. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/3h/3hk-k7Z5qoOh6S1dyiOjpfiwRfblMf4NpG3NVkO_4GQ.cache +1 -0
  7. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/{9C/9Cy8L_tqI8SvH-pVigMqBlPTus4vnZvt3YE2y8--beE.cache → 81/81FXcACo3ySybaa-2mJ9JsZ4xXvXxgi6rAT9sildrVs.cache} +1 -1
  8. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/{JO/JO9QyaKhLUs4VF1ODPXLiqcSziQS4x3sudms-3GYjww.cache → 97/97gKfWGwqo7IhT-5nqdT3p547QEt2G9nbmU5XVAtEeE.cache} +1 -1
  9. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/GO/GOYA_gO9tZqOtwNUptOfYUG1F6q5BF1ZZI0Wr7itvYM.cache +1 -0
  10. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/NG/NGyfZ_kRU3oHnf8bEjRHJwpjyx0NF_U8V_ENdenCoIg.cache +1 -0
  11. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/{3e/3eGeoVsqjktkiAfNQ4zBuxtb0rtVWyQsKgjho5OHYnY.cache → R9/R9pPKpyMZFVnjZL7kwY21faYzV2WpIx_hPb5GrUown8.cache} +0 -0
  12. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/{MY/MYzGrw0IXUX2kX7p7ewfG8d7UsRV5X17R5hdQq8CTZI.cache → W1/W1cCnSuixTbIt3rgc5Z-4BGC1iBfw6gqKVjuOh66lSY.cache} +0 -0
  13. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Xr/Xr9AioDZNswMqHmbREXo4J_kNVPlbysC8G37BX65-rY.cache +0 -0
  14. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/lK/lKG81FVPPHkSni295teRgLDoWVYRamY_BCSFxMiagSs.cache +1 -0
  15. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/q7/q7CVcZSJHIEQqdPLpSAb4YHepJZFY541_7ToMaHvbtA.cache +0 -0
  16. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/{8Z/8ZS9j7aGFdwDIFga-3KoPCkVogPmZ-NekN5uBOSE5QU.cache → wF/wFKYFOm2u1A3crk6JyBKUw2L5ybvI0Tbt2jPPZXfdWQ.cache} +0 -0
  17. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/yY/yY97dYnGEDUjVioT9bUJucvTt0w_ToimRXWj3YYvD10.cache +0 -0
  18. data/test/integration/navigation_test.rb +1 -1
  19. data/vendor/assets/javascripts/moment/af.js +66 -77
  20. data/vendor/assets/javascripts/moment/ar-dz.js +145 -156
  21. data/vendor/assets/javascripts/moment/ar-kw.js +48 -58
  22. data/vendor/assets/javascripts/moment/ar-ly.js +165 -176
  23. data/vendor/assets/javascripts/moment/ar-ma.js +48 -58
  24. data/vendor/assets/javascripts/moment/ar-sa.js +97 -107
  25. data/vendor/assets/javascripts/moment/ar-tn.js +48 -58
  26. data/vendor/assets/javascripts/moment/ar.js +180 -191
  27. data/vendor/assets/javascripts/moment/az.js +94 -104
  28. data/vendor/assets/javascripts/moment/be.js +124 -134
  29. data/vendor/assets/javascripts/moment/bg.js +80 -91
  30. data/vendor/assets/javascripts/moment/bm.js +47 -57
  31. data/vendor/assets/javascripts/moment/bn-bd.js +119 -129
  32. data/vendor/assets/javascripts/moment/bn.js +111 -121
  33. data/vendor/assets/javascripts/moment/bo.js +114 -123
  34. data/vendor/assets/javascripts/moment/br.js +154 -162
  35. data/vendor/assets/javascripts/moment/bs.js +138 -148
  36. data/vendor/assets/javascripts/moment/ca.js +84 -92
  37. data/vendor/assets/javascripts/moment/cs.js +168 -170
  38. data/vendor/assets/javascripts/moment/cv.js +55 -65
  39. data/vendor/assets/javascripts/moment/cy.js +89 -99
  40. data/vendor/assets/javascripts/moment/da.js +48 -59
  41. data/vendor/assets/javascripts/moment/de-at.js +68 -79
  42. data/vendor/assets/javascripts/moment/de-ch.js +69 -78
  43. data/vendor/assets/javascripts/moment/de.js +68 -79
  44. data/vendor/assets/javascripts/moment/dv.js +84 -95
  45. data/vendor/assets/javascripts/moment/el.js +94 -103
  46. data/vendor/assets/javascripts/moment/en-au.js +63 -74
  47. data/vendor/assets/javascripts/moment/en-ca.js +59 -70
  48. data/vendor/assets/javascripts/moment/en-gb.js +63 -74
  49. data/vendor/assets/javascripts/moment/en-ie.js +63 -74
  50. data/vendor/assets/javascripts/moment/en-il.js +59 -70
  51. data/vendor/assets/javascripts/moment/en-in.js +63 -74
  52. data/vendor/assets/javascripts/moment/en-nz.js +63 -74
  53. data/vendor/assets/javascripts/moment/en-sg.js +63 -74
  54. data/vendor/assets/javascripts/moment/eo.js +60 -71
  55. data/vendor/assets/javascripts/moment/es-do.js +96 -103
  56. data/vendor/assets/javascripts/moment/es-mx.js +97 -104
  57. data/vendor/assets/javascripts/moment/es-us.js +96 -103
  58. data/vendor/assets/javascripts/moment/es.js +97 -104
  59. data/vendor/assets/javascripts/moment/et.js +68 -79
  60. data/vendor/assets/javascripts/moment/eu.js +56 -65
  61. data/vendor/assets/javascripts/moment/fa.js +101 -109
  62. data/vendor/assets/javascripts/moment/fi.js +111 -119
  63. data/vendor/assets/javascripts/moment/fil.js +52 -63
  64. data/vendor/assets/javascripts/moment/fo.js +49 -59
  65. data/vendor/assets/javascripts/moment/fr-ca.js +62 -72
  66. data/vendor/assets/javascripts/moment/fr-ch.js +66 -76
  67. data/vendor/assets/javascripts/moment/fr.js +98 -105
  68. data/vendor/assets/javascripts/moment/fy.js +68 -81
  69. data/vendor/assets/javascripts/moment/ga.js +89 -100
  70. data/vendor/assets/javascripts/moment/gd.js +89 -100
  71. data/vendor/assets/javascripts/moment/gl.js +64 -74
  72. data/vendor/assets/javascripts/moment/gom-deva.js +116 -125
  73. data/vendor/assets/javascripts/moment/gom-latn.js +114 -125
  74. data/vendor/assets/javascripts/moment/gu.js +114 -124
  75. data/vendor/assets/javascripts/moment/he.js +82 -93
  76. data/vendor/assets/javascripts/moment/hi.js +154 -161
  77. data/vendor/assets/javascripts/moment/hr.js +143 -152
  78. data/vendor/assets/javascripts/moment/hu.js +106 -117
  79. data/vendor/assets/javascripts/moment/hy-am.js +83 -92
  80. data/vendor/assets/javascripts/moment/id.js +70 -81
  81. data/vendor/assets/javascripts/moment/is.js +125 -135
  82. data/vendor/assets/javascripts/moment/it-ch.js +57 -68
  83. data/vendor/assets/javascripts/moment/it.js +95 -106
  84. data/vendor/assets/javascripts/moment/ja.js +135 -146
  85. data/vendor/assets/javascripts/moment/jv.js +70 -81
  86. data/vendor/assets/javascripts/moment/ka.js +79 -90
  87. data/vendor/assets/javascripts/moment/kk.js +76 -87
  88. data/vendor/assets/javascripts/moment/km.js +95 -105
  89. data/vendor/assets/javascripts/moment/kn.js +116 -126
  90. data/vendor/assets/javascripts/moment/ko.js +69 -80
  91. data/vendor/assets/javascripts/moment/ku.js +110 -121
  92. data/vendor/assets/javascripts/moment/ky.js +78 -89
  93. data/vendor/assets/javascripts/moment/lb.js +119 -128
  94. data/vendor/assets/javascripts/moment/lo.js +59 -69
  95. data/vendor/assets/javascripts/moment/lt.js +112 -121
  96. data/vendor/assets/javascripts/moment/lv.js +84 -94
  97. data/vendor/assets/javascripts/moment/me.js +108 -120
  98. data/vendor/assets/javascripts/moment/mi.js +53 -63
  99. data/vendor/assets/javascripts/moment/mk.js +78 -90
  100. data/vendor/assets/javascripts/moment/ml.js +73 -82
  101. data/vendor/assets/javascripts/moment/mn.js +90 -100
  102. data/vendor/assets/javascripts/moment/mr.js +191 -201
  103. data/vendor/assets/javascripts/moment/ms-my.js +70 -81
  104. data/vendor/assets/javascripts/moment/ms.js +70 -81
  105. data/vendor/assets/javascripts/moment/mt.js +49 -59
  106. data/vendor/assets/javascripts/moment/my.js +82 -93
  107. data/vendor/assets/javascripts/moment/nb.js +53 -65
  108. data/vendor/assets/javascripts/moment/ne.js +113 -123
  109. data/vendor/assets/javascripts/moment/nl-be.js +92 -103
  110. data/vendor/assets/javascripts/moment/nl.js +94 -105
  111. data/vendor/assets/javascripts/moment/nn.js +53 -65
  112. data/vendor/assets/javascripts/moment/oc-lnc.js +74 -83
  113. data/vendor/assets/javascripts/moment/pa-in.js +114 -124
  114. data/vendor/assets/javascripts/moment/pl.js +123 -133
  115. data/vendor/assets/javascripts/moment/pt-br.js +50 -60
  116. data/vendor/assets/javascripts/moment/pt.js +55 -65
  117. data/vendor/assets/javascripts/moment/ro.js +65 -75
  118. data/vendor/assets/javascripts/moment/ru.js +187 -191
  119. data/vendor/assets/javascripts/moment/sd.js +75 -86
  120. data/vendor/assets/javascripts/moment/se.js +50 -61
  121. data/vendor/assets/javascripts/moment/si.js +62 -72
  122. data/vendor/assets/javascripts/moment/sk.js +133 -143
  123. data/vendor/assets/javascripts/moment/sl.js +159 -169
  124. data/vendor/assets/javascripts/moment/sq.js +58 -69
  125. data/vendor/assets/javascripts/moment/sr-cyrl.js +117 -117
  126. data/vendor/assets/javascripts/moment/sr.js +119 -119
  127. data/vendor/assets/javascripts/moment/ss.js +76 -86
  128. data/vendor/assets/javascripts/moment/sv.js +63 -74
  129. data/vendor/assets/javascripts/moment/sw.js +48 -58
  130. data/vendor/assets/javascripts/moment/ta.js +121 -130
  131. data/vendor/assets/javascripts/moment/te.js +79 -88
  132. data/vendor/assets/javascripts/moment/tet.js +61 -72
  133. data/vendor/assets/javascripts/moment/tg.js +109 -119
  134. data/vendor/assets/javascripts/moment/th.js +58 -68
  135. data/vendor/assets/javascripts/moment/tk.js +85 -96
  136. data/vendor/assets/javascripts/moment/tl-ph.js +52 -63
  137. data/vendor/assets/javascripts/moment/tlh.js +109 -121
  138. data/vendor/assets/javascripts/moment/tr.js +99 -110
  139. data/vendor/assets/javascripts/moment/tzl.js +82 -93
  140. data/vendor/assets/javascripts/moment/tzm-latn.js +47 -57
  141. data/vendor/assets/javascripts/moment/tzm.js +47 -57
  142. data/vendor/assets/javascripts/moment/ug-cn.js +103 -113
  143. data/vendor/assets/javascripts/moment/uk.js +146 -153
  144. data/vendor/assets/javascripts/moment/ur.js +75 -86
  145. data/vendor/assets/javascripts/moment/uz-latn.js +47 -57
  146. data/vendor/assets/javascripts/moment/uz.js +46 -57
  147. data/vendor/assets/javascripts/moment/vi.js +72 -82
  148. data/vendor/assets/javascripts/moment/x-pseudo.js +64 -73
  149. data/vendor/assets/javascripts/moment/yo.js +48 -59
  150. data/vendor/assets/javascripts/moment/zh-cn.js +107 -118
  151. data/vendor/assets/javascripts/moment/zh-hk.js +93 -104
  152. data/vendor/assets/javascripts/moment/zh-mo.js +93 -104
  153. data/vendor/assets/javascripts/moment/zh-tw.js +93 -104
  154. data/vendor/assets/javascripts/moment.js +4945 -4938
  155. metadata +30 -86
  156. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/-H/-H77gbOgi-dwHJoevs2PsAJBV-nde7DFDWBPXqUrMkw.cache +0 -1
  157. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/-y/-ypqz4WBYM3Qftk20RenhtH0iPKxdtyu6t3hVOjJLL4.cache +0 -1
  158. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/1g/1giZXIzjQTIHLJ30if0Cxp6LHLNLyLvCt66HPyr7S9Q.cache +0 -0
  159. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/1l/1l4oJ9T6GJ0pN-vGrH1QH9XT7AVF3Z9pakdHrxcsuXw.cache +0 -1
  160. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/4l/4laR_NL9p0jWaBh-kVGkzBwhRp0MzmdAkBI_mccpvxQ.cache +0 -2
  161. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/5A/5ACbsliWc2erDYoI0QUGjRXJIXW_JRiuIjLhVhIZc88.cache +0 -0
  162. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/5h/5h-ruujSKgsZz79GwDnzkAalkJoWGzpepGc2xuQDVsA.cache +0 -1
  163. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/5q/5qkRnQf0206eJO9YiwkpxUs7yZ4f50rNMuCFJaryc0c.cache +0 -2
  164. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/8e/8eQxu2zgyp7bsTrrVsa4QKmGNNNJ5YVMc2HsybmUamg.cache +0 -1
  165. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/9z/9zOsSzS7x1TCGFnvxdjQdrEL2MENRZARP2fzL5JYLF0.cache +0 -1
  166. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/AP/AP7JoF1ZWY1lf5txW64EpzKJEzOIsR9Wkn_V0pl6Kzo.cache +0 -0
  167. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Ai/AiuMstvaIxiBhMWFk2cj5HVrvdG-c98_PaheKtkPYj0.cache +0 -1
  168. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Bu/BuxnmLYpqxwN3qck74Nh3Adaqz5VwdArL7wCZx6TnII.cache +0 -2
  169. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/IN/INM03spFgth_-zzNy3cfUv3ATbaBRjFWWj1kGQYmcTA.cache +0 -1
  170. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Mn/MnWwrzXFar6jFGAfp8PS_cZXjeFYCA85xsTQT758958.cache +0 -0
  171. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/OM/OM7fRuvTUPQcZERsO6Tsv0fvTdZqsRZbN-mYK00TwnI.cache +0 -1
  172. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Pn/PnNlsrskw8SKHpOLkqJgEN_HjZzB2jsQZauj-dnQQ2A.cache +0 -0
  173. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Rf/RfFWq_tyttbS2wyfSc0kKvcSxUeC_m01sL3Dl6EWEqM.cache +0 -0
  174. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Ru/RuQ9HENefRmSoZaLfw7LalsxdBHpKJMyc2c3OQ_kQr8.cache +0 -3
  175. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/T-/T-9_ffpUxh6GAYTAzM3sF5lykyt9GVpcbKZaRXxw0wA.cache +0 -2
  176. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Yw/YwG9q2kyDHA7PseIrAE66Qe2IFNrhUtDbdgulyvgEfI.cache +0 -0
  177. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Zj/Zjn9OiwGREdMXvLZA-tY289lQslnn7R3BrSwhsntMWQ.cache +0 -3
  178. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Zm/Zmp1hSfJjOVQBTRXZ-xSs8qqIK6lmyQ4GK_uYVsDVJc.cache +0 -1
  179. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/bR/bRSmDUPNI--mMuAgRHWf1r56iydNwHRg_wniS8HqhNg.cache +0 -0
  180. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/dA/dAAcqCClwz0OKgpbEd9G3OUYKW1TeNqJV49Zxh2bQ5A.cache +0 -1
  181. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/dh/dhlLaVScr1-Ty5UFcg6xdU4xSWIuySWzjcC5OU2mOf4.cache +0 -0
  182. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/fw/fwDh4S50V5wK-MsABSBJ2ghx6XKATSRASedKP69FwnA.cache +0 -0
  183. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/gt/gtu4KqwPpmom4hwtRz9x180bzJzATR6V8hyE3uHsyas.cache +0 -3
  184. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/kl/klJHIoyRhrimisvwpjAPKxae89riL_0exIgpv4u3u5Y.cache +0 -0
  185. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/lw/lwVIcNwb-0tSyXePavJPzb_NJwTR5_Y-qNk_rkqyfLY.cache +0 -1
  186. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/m1/m16f5eEXdsOfzbCB88BS3eojIypOTYQjyyv5kkTDwxY.cache +0 -1
  187. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/mm/mmqv3-gEoPWhMrVamMnpI1csCNLKpv-qVQgHERXQNaU.cache +0 -2
  188. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/rp/rpqm2QeVJPWIySovDg4XdCnI6X5_FXCd0pZhuOnwAfk.cache +0 -1
  189. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/wq/wqYc1aiYr9phcM5WCWD3P8qxwERbfkuO8u-ZrsLaiPI.cache +0 -1
  190. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/wx/wxFkskdA6iSIVZxka368Y8wkP-3edr2nlW4VSOI6GhY.cache +0 -3
  191. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/xP/xPbdGyTHlpGRgIS0gbG9suCByeakXeTFaQ1B_h3_aUI.cache +0 -0
@@ -4,149 +4,139 @@
4
4
  //! author: Praleska: http://praleska.pro/
5
5
  //! Author : Menelion Elensúle : https://github.com/Oire
6
6
 
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';
7
+ import moment from '../moment';
13
8
 
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
- }
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);
40
32
  }
33
+ }
41
34
 
42
- var be = moment.defineLocale('be', {
43
- months: {
44
- format: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split(
45
- '_'
46
- ),
47
- standalone: 'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split(
48
- '_'
49
- ),
50
- },
51
- monthsShort: 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split(
35
+ export default moment.defineLocale('be', {
36
+ months: {
37
+ format: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split(
52
38
  '_'
53
39
  ),
54
- weekdays: {
55
- format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split(
40
+ standalone:
41
+ 'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split(
56
42
  '_'
57
43
  ),
58
- standalone: 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split(
44
+ },
45
+ monthsShort:
46
+ 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split('_'),
47
+ weekdays: {
48
+ format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split(
49
+ '_'
50
+ ),
51
+ standalone:
52
+ 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split(
59
53
  '_'
60
54
  ),
61
- isFormat: /\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/,
62
- },
63
- weekdaysShort: 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
64
- weekdaysMin: 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
65
- longDateFormat: {
66
- LT: 'HH:mm',
67
- LTS: 'HH:mm:ss',
68
- L: 'DD.MM.YYYY',
69
- LL: 'D MMMM YYYY г.',
70
- LLL: 'D MMMM YYYY г., HH:mm',
71
- LLLL: 'dddd, D MMMM YYYY г., HH:mm',
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';
72
73
  },
73
- calendar: {
74
- sameDay: '[Сёння ў] LT',
75
- nextDay: '[Заўтра ў] LT',
76
- lastDay: '[Учора ў] LT',
77
- nextWeek: function () {
78
- return '[У] dddd [ў] LT';
79
- },
80
- lastWeek: function () {
81
- switch (this.day()) {
82
- case 0:
83
- case 3:
84
- case 5:
85
- case 6:
86
- return '[У мінулую] dddd [ў] LT';
87
- case 1:
88
- case 2:
89
- case 4:
90
- return '[У мінулы] dddd [ў] LT';
91
- }
92
- },
93
- sameElse: 'L',
94
- },
95
- relativeTime: {
96
- future: 'праз %s',
97
- past: '%s таму',
98
- s: 'некалькі секунд',
99
- m: relativeTimeWithPlural,
100
- mm: relativeTimeWithPlural,
101
- h: relativeTimeWithPlural,
102
- hh: relativeTimeWithPlural,
103
- d: 'дзень',
104
- dd: relativeTimeWithPlural,
105
- M: 'месяц',
106
- MM: relativeTimeWithPlural,
107
- y: 'год',
108
- yy: relativeTimeWithPlural,
109
- },
110
- meridiemParse: /ночы|раніцы|дня|вечара/,
111
- isPM: function (input) {
112
- return /^(дня|вечара)$/.test(input);
113
- },
114
- meridiem: function (hour, minute, isLower) {
115
- if (hour < 4) {
116
- return 'ночы';
117
- } else if (hour < 12) {
118
- return 'раніцы';
119
- } else if (hour < 17) {
120
- return 'дня';
121
- } else {
122
- return 'вечара';
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';
123
85
  }
124
86
  },
125
- dayOfMonthOrdinalParse: /\d{1,2}-(і|ы|га)/,
126
- ordinal: function (number, period) {
127
- switch (period) {
128
- case 'M':
129
- case 'd':
130
- case 'DDD':
131
- case 'w':
132
- case 'W':
133
- return (number % 10 === 2 || number % 10 === 3) &&
134
- number % 100 !== 12 &&
135
- number % 100 !== 13
136
- ? number + '-і'
137
- : number + '';
138
- case 'D':
139
- return number + '-га';
140
- default:
141
- return number;
142
- }
143
- },
144
- week: {
145
- dow: 1, // Monday is the first day of the week.
146
- doy: 7, // The week that contains Jan 7th is the first week of the year.
147
- },
148
- });
149
-
150
- return be;
151
-
152
- })));
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
+ });
@@ -2,97 +2,86 @@
2
2
  //! locale : Bulgarian [bg]
3
3
  //! author : Krasen Borisov : https://github.com/kraz
4
4
 
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';
5
+ import moment from '../moment';
11
6
 
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 + '-ти';
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';
88
41
  }
89
42
  },
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
- })));
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
+ });
@@ -1,62 +1,52 @@
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
4
5
 
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
+ import moment from '../moment';
11
7
 
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
- })));
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
+ });