momentjs-rails 2.20.1 → 2.29.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (193) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/news.md +6 -0
  4. data/test/dummy/app/assets/config/manifest.js +1 -0
  5. data/test/dummy/config/environments/development.rb +2 -0
  6. data/test/dummy/config/environments/production.rb +1 -0
  7. data/test/dummy/config/environments/test.rb +2 -0
  8. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/-H/-H77gbOgi-dwHJoevs2PsAJBV-nde7DFDWBPXqUrMkw.cache +1 -0
  9. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/-y/-ypqz4WBYM3Qftk20RenhtH0iPKxdtyu6t3hVOjJLL4.cache +1 -0
  10. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/1g/1giZXIzjQTIHLJ30if0Cxp6LHLNLyLvCt66HPyr7S9Q.cache +0 -0
  11. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/1l/1l4oJ9T6GJ0pN-vGrH1QH9XT7AVF3Z9pakdHrxcsuXw.cache +1 -0
  12. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/3T/3TjWGZFWBLAEGSW7kQIDJIL6_MukMwz_wLDMwgYsN1E.cache +2 -0
  13. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/3e/3eGeoVsqjktkiAfNQ4zBuxtb0rtVWyQsKgjho5OHYnY.cache +2 -0
  14. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/4l/4laR_NL9p0jWaBh-kVGkzBwhRp0MzmdAkBI_mccpvxQ.cache +2 -0
  15. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/5A/5ACbsliWc2erDYoI0QUGjRXJIXW_JRiuIjLhVhIZc88.cache +0 -0
  16. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/5h/5h-ruujSKgsZz79GwDnzkAalkJoWGzpepGc2xuQDVsA.cache +1 -0
  17. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/5q/5qkRnQf0206eJO9YiwkpxUs7yZ4f50rNMuCFJaryc0c.cache +2 -0
  18. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/8Z/8ZS9j7aGFdwDIFga-3KoPCkVogPmZ-NekN5uBOSE5QU.cache +3 -0
  19. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/8e/8eQxu2zgyp7bsTrrVsa4QKmGNNNJ5YVMc2HsybmUamg.cache +1 -0
  20. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/9C/9Cy8L_tqI8SvH-pVigMqBlPTus4vnZvt3YE2y8--beE.cache +1 -0
  21. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/9z/9zOsSzS7x1TCGFnvxdjQdrEL2MENRZARP2fzL5JYLF0.cache +1 -0
  22. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/AP/AP7JoF1ZWY1lf5txW64EpzKJEzOIsR9Wkn_V0pl6Kzo.cache +0 -0
  23. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Ai/AiuMstvaIxiBhMWFk2cj5HVrvdG-c98_PaheKtkPYj0.cache +1 -0
  24. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Bu/BuxnmLYpqxwN3qck74Nh3Adaqz5VwdArL7wCZx6TnII.cache +2 -0
  25. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/IN/INM03spFgth_-zzNy3cfUv3ATbaBRjFWWj1kGQYmcTA.cache +1 -0
  26. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/JO/JO9QyaKhLUs4VF1ODPXLiqcSziQS4x3sudms-3GYjww.cache +1 -0
  27. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/MY/MYzGrw0IXUX2kX7p7ewfG8d7UsRV5X17R5hdQq8CTZI.cache +3 -0
  28. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Mn/MnWwrzXFar6jFGAfp8PS_cZXjeFYCA85xsTQT758958.cache +0 -0
  29. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/OM/OM7fRuvTUPQcZERsO6Tsv0fvTdZqsRZbN-mYK00TwnI.cache +1 -0
  30. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Pn/PnNlsrskw8SKHpOLkqJgEN_HjZzB2jsQZauj-dnQQ2A.cache +0 -0
  31. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Rf/RfFWq_tyttbS2wyfSc0kKvcSxUeC_m01sL3Dl6EWEqM.cache +0 -0
  32. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Ru/RuQ9HENefRmSoZaLfw7LalsxdBHpKJMyc2c3OQ_kQr8.cache +3 -0
  33. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/T-/T-9_ffpUxh6GAYTAzM3sF5lykyt9GVpcbKZaRXxw0wA.cache +2 -0
  34. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Yw/YwG9q2kyDHA7PseIrAE66Qe2IFNrhUtDbdgulyvgEfI.cache +0 -0
  35. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Zj/Zjn9OiwGREdMXvLZA-tY289lQslnn7R3BrSwhsntMWQ.cache +3 -0
  36. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Zm/Zmp1hSfJjOVQBTRXZ-xSs8qqIK6lmyQ4GK_uYVsDVJc.cache +1 -0
  37. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/bR/bRSmDUPNI--mMuAgRHWf1r56iydNwHRg_wniS8HqhNg.cache +0 -0
  38. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/dA/dAAcqCClwz0OKgpbEd9G3OUYKW1TeNqJV49Zxh2bQ5A.cache +1 -0
  39. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/dh/dhlLaVScr1-Ty5UFcg6xdU4xSWIuySWzjcC5OU2mOf4.cache +0 -0
  40. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/fw/fwDh4S50V5wK-MsABSBJ2ghx6XKATSRASedKP69FwnA.cache +0 -0
  41. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/gt/gtu4KqwPpmom4hwtRz9x180bzJzATR6V8hyE3uHsyas.cache +3 -0
  42. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/kl/klJHIoyRhrimisvwpjAPKxae89riL_0exIgpv4u3u5Y.cache +0 -0
  43. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/lw/lwVIcNwb-0tSyXePavJPzb_NJwTR5_Y-qNk_rkqyfLY.cache +1 -0
  44. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/m1/m16f5eEXdsOfzbCB88BS3eojIypOTYQjyyv5kkTDwxY.cache +1 -0
  45. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/mm/mmqv3-gEoPWhMrVamMnpI1csCNLKpv-qVQgHERXQNaU.cache +2 -0
  46. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/rp/rpqm2QeVJPWIySovDg4XdCnI6X5_FXCd0pZhuOnwAfk.cache +1 -0
  47. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/wq/wqYc1aiYr9phcM5WCWD3P8qxwERbfkuO8u-ZrsLaiPI.cache +1 -0
  48. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/wx/wxFkskdA6iSIVZxka368Y8wkP-3edr2nlW4VSOI6GhY.cache +3 -0
  49. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/xP/xPbdGyTHlpGRgIS0gbG9suCByeakXeTFaQ1B_h3_aUI.cache +0 -0
  50. data/test/integration/navigation_test.rb +1 -1
  51. data/vendor/assets/javascripts/moment/af.js +67 -59
  52. data/vendor/assets/javascripts/moment/ar-dz.js +153 -46
  53. data/vendor/assets/javascripts/moment/ar-kw.js +50 -45
  54. data/vendor/assets/javascripts/moment/ar-ly.js +166 -111
  55. data/vendor/assets/javascripts/moment/ar-ma.js +50 -45
  56. data/vendor/assets/javascripts/moment/ar-sa.js +99 -90
  57. data/vendor/assets/javascripts/moment/ar-tn.js +50 -45
  58. data/vendor/assets/javascripts/moment/ar.js +182 -125
  59. data/vendor/assets/javascripts/moment/az.js +96 -90
  60. data/vendor/assets/javascripts/moment/be.js +129 -112
  61. data/vendor/assets/javascripts/moment/bg.js +81 -74
  62. data/vendor/assets/javascripts/moment/bm.js +47 -45
  63. data/vendor/assets/javascripts/moment/bn-bd.js +139 -0
  64. data/vendor/assets/javascripts/moment/bn.js +112 -103
  65. data/vendor/assets/javascripts/moment/bo.js +116 -103
  66. data/vendor/assets/javascripts/moment/br.js +155 -88
  67. data/vendor/assets/javascripts/moment/bs.js +140 -133
  68. data/vendor/assets/javascripts/moment/ca.js +88 -69
  69. data/vendor/assets/javascripts/moment/cs.js +163 -161
  70. data/vendor/assets/javascripts/moment/cv.js +57 -48
  71. data/vendor/assets/javascripts/moment/cy.js +91 -65
  72. data/vendor/assets/javascripts/moment/da.js +49 -46
  73. data/vendor/assets/javascripts/moment/de-at.js +71 -61
  74. data/vendor/assets/javascripts/moment/de-ch.js +71 -63
  75. data/vendor/assets/javascripts/moment/de.js +71 -61
  76. data/vendor/assets/javascripts/moment/dv.js +85 -85
  77. data/vendor/assets/javascripts/moment/el.js +97 -83
  78. data/vendor/assets/javascripts/moment/en-au.js +64 -53
  79. data/vendor/assets/javascripts/moment/en-ca.js +60 -49
  80. data/vendor/assets/javascripts/moment/en-gb.js +64 -53
  81. data/vendor/assets/javascripts/moment/en-ie.js +64 -53
  82. data/vendor/assets/javascripts/moment/en-il.js +75 -0
  83. data/vendor/assets/javascripts/moment/en-in.js +79 -0
  84. data/vendor/assets/javascripts/moment/en-nz.js +64 -53
  85. data/vendor/assets/javascripts/moment/en-sg.js +79 -0
  86. data/vendor/assets/javascripts/moment/eo.js +62 -57
  87. data/vendor/assets/javascripts/moment/es-do.js +95 -72
  88. data/vendor/assets/javascripts/moment/es-mx.js +117 -0
  89. data/vendor/assets/javascripts/moment/es-us.js +96 -63
  90. data/vendor/assets/javascripts/moment/es.js +96 -72
  91. data/vendor/assets/javascripts/moment/et.js +71 -64
  92. data/vendor/assets/javascripts/moment/eu.js +59 -52
  93. data/vendor/assets/javascripts/moment/fa.js +105 -92
  94. data/vendor/assets/javascripts/moment/fi.js +115 -93
  95. data/vendor/assets/javascripts/moment/fil.js +69 -0
  96. data/vendor/assets/javascripts/moment/fo.js +52 -46
  97. data/vendor/assets/javascripts/moment/fr-ca.js +64 -59
  98. data/vendor/assets/javascripts/moment/fr-ch.js +68 -63
  99. data/vendor/assets/javascripts/moment/fr.js +98 -67
  100. data/vendor/assets/javascripts/moment/fy.js +72 -60
  101. data/vendor/assets/javascripts/moment/ga.js +106 -0
  102. data/vendor/assets/javascripts/moment/gd.js +90 -61
  103. data/vendor/assets/javascripts/moment/gl.js +66 -59
  104. data/vendor/assets/javascripts/moment/gom-deva.js +135 -0
  105. data/vendor/assets/javascripts/moment/gom-latn.js +119 -108
  106. data/vendor/assets/javascripts/moment/gu.js +116 -109
  107. data/vendor/assets/javascripts/moment/he.js +84 -79
  108. data/vendor/assets/javascripts/moment/hi.js +159 -109
  109. data/vendor/assets/javascripts/moment/hr.js +146 -136
  110. data/vendor/assets/javascripts/moment/hu.js +110 -92
  111. data/vendor/assets/javascripts/moment/hy-am.js +86 -79
  112. data/vendor/assets/javascripts/moment/id.js +71 -68
  113. data/vendor/assets/javascripts/moment/is.js +127 -110
  114. data/vendor/assets/javascripts/moment/it-ch.js +75 -0
  115. data/vendor/assets/javascripts/moment/it.js +99 -53
  116. data/vendor/assets/javascripts/moment/ja.js +144 -66
  117. data/vendor/assets/javascripts/moment/jv.js +71 -68
  118. data/vendor/assets/javascripts/moment/ka.js +85 -72
  119. data/vendor/assets/javascripts/moment/kk.js +77 -72
  120. data/vendor/assets/javascripts/moment/km.js +98 -44
  121. data/vendor/assets/javascripts/moment/kn.js +118 -111
  122. data/vendor/assets/javascripts/moment/ko.js +70 -67
  123. data/vendor/assets/javascripts/moment/ku.js +129 -0
  124. data/vendor/assets/javascripts/moment/ky.js +79 -73
  125. data/vendor/assets/javascripts/moment/lb.js +123 -115
  126. data/vendor/assets/javascripts/moment/lo.js +61 -56
  127. data/vendor/assets/javascripts/moment/lt.js +115 -100
  128. data/vendor/assets/javascripts/moment/lv.js +86 -81
  129. data/vendor/assets/javascripts/moment/me.js +110 -94
  130. data/vendor/assets/javascripts/moment/mi.js +55 -50
  131. data/vendor/assets/javascripts/moment/mk.js +80 -74
  132. data/vendor/assets/javascripts/moment/ml.js +75 -66
  133. data/vendor/assets/javascripts/moment/mn.js +110 -0
  134. data/vendor/assets/javascripts/moment/mr.js +193 -142
  135. data/vendor/assets/javascripts/moment/ms-my.js +71 -68
  136. data/vendor/assets/javascripts/moment/ms.js +71 -68
  137. data/vendor/assets/javascripts/moment/mt.js +51 -46
  138. data/vendor/assets/javascripts/moment/my.js +83 -78
  139. data/vendor/assets/javascripts/moment/nb.js +56 -48
  140. data/vendor/assets/javascripts/moment/ne.js +115 -108
  141. data/vendor/assets/javascripts/moment/nl-be.js +93 -69
  142. data/vendor/assets/javascripts/moment/nl.js +95 -69
  143. data/vendor/assets/javascripts/moment/nn.js +57 -47
  144. data/vendor/assets/javascripts/moment/oc-lnc.js +94 -0
  145. data/vendor/assets/javascripts/moment/pa-in.js +116 -109
  146. data/vendor/assets/javascripts/moment/pl.js +127 -104
  147. data/vendor/assets/javascripts/moment/pt-br.js +52 -46
  148. data/vendor/assets/javascripts/moment/pt.js +57 -50
  149. data/vendor/assets/javascripts/moment/ro.js +68 -59
  150. data/vendor/assets/javascripts/moment/ru.js +187 -155
  151. data/vendor/assets/javascripts/moment/sd.js +76 -83
  152. data/vendor/assets/javascripts/moment/se.js +53 -47
  153. data/vendor/assets/javascripts/moment/si.js +64 -57
  154. data/vendor/assets/javascripts/moment/sk.js +135 -138
  155. data/vendor/assets/javascripts/moment/sl.js +161 -154
  156. data/vendor/assets/javascripts/moment/sq.js +59 -54
  157. data/vendor/assets/javascripts/moment/sr-cyrl.js +109 -94
  158. data/vendor/assets/javascripts/moment/sr.js +111 -94
  159. data/vendor/assets/javascripts/moment/ss.js +78 -74
  160. data/vendor/assets/javascripts/moment/sv.js +64 -55
  161. data/vendor/assets/javascripts/moment/sw.js +50 -45
  162. data/vendor/assets/javascripts/moment/ta.js +124 -115
  163. data/vendor/assets/javascripts/moment/te.js +82 -75
  164. data/vendor/assets/javascripts/moment/tet.js +63 -53
  165. data/vendor/assets/javascripts/moment/tg.js +127 -0
  166. data/vendor/assets/javascripts/moment/th.js +60 -53
  167. data/vendor/assets/javascripts/moment/tk.js +102 -0
  168. data/vendor/assets/javascripts/moment/tl-ph.js +53 -48
  169. data/vendor/assets/javascripts/moment/tlh.js +114 -101
  170. data/vendor/assets/javascripts/moment/tr.js +100 -74
  171. data/vendor/assets/javascripts/moment/tzl.js +83 -76
  172. data/vendor/assets/javascripts/moment/tzm-latn.js +49 -44
  173. data/vendor/assets/javascripts/moment/tzm.js +49 -44
  174. data/vendor/assets/javascripts/moment/ug-cn.js +121 -0
  175. data/vendor/assets/javascripts/moment/uk.js +151 -130
  176. data/vendor/assets/javascripts/moment/ur.js +76 -83
  177. data/vendor/assets/javascripts/moment/uz-latn.js +49 -44
  178. data/vendor/assets/javascripts/moment/uz.js +47 -44
  179. data/vendor/assets/javascripts/moment/vi.js +75 -65
  180. data/vendor/assets/javascripts/moment/x-pseudo.js +67 -54
  181. data/vendor/assets/javascripts/moment/yo.js +49 -46
  182. data/vendor/assets/javascripts/moment/zh-cn.js +115 -96
  183. data/vendor/assets/javascripts/moment/zh-hk.js +95 -89
  184. data/vendor/assets/javascripts/moment/zh-mo.js +111 -0
  185. data/vendor/assets/javascripts/moment/zh-tw.js +94 -89
  186. data/vendor/assets/javascripts/moment.js +4987 -3852
  187. metadata +120 -31
  188. data/test/dummy/tmp/cache/assets/D1C/680/sprockets%2F16ed4d5afdb2919596e6f8790e2116c2 +0 -0
  189. data/test/dummy/tmp/cache/assets/D35/CA0/sprockets%2F493e64bce2d302801dc01cf7cd096a58 +0 -0
  190. data/test/dummy/tmp/cache/assets/D3F/5F0/sprockets%2F4a6c53eae7c6e41a69a191578bbb6417 +0 -0
  191. data/test/dummy/tmp/cache/assets/D58/BD0/sprockets%2F4de9ddc9b725c715a54c98697b2528fe +0 -0
  192. data/test/dummy/tmp/cache/assets/D75/510/sprockets%2Fe690787ac522f47a6be024bfcc1767ee +0 -0
  193. data/test/dummy/tmp/cache/assets/E10/250/sprockets%2Fe4badb9ddfda484eb9671bf88567be61 +0 -0
@@ -9,80 +9,85 @@
9
9
  factory(global.moment)
10
10
  }(this, (function (moment) { 'use strict';
11
11
 
12
+ //! moment.js locale configuration
12
13
 
13
- var suffixes = {
14
- 0: '-ші',
15
- 1: '-ші',
16
- 2: '-ші',
17
- 3: '-ші',
18
- 4: '-ші',
19
- 5: '-ші',
20
- 6: '-шы',
21
- 7: '-ші',
22
- 8: '-ші',
23
- 9: '-шы',
24
- 10: '-шы',
25
- 20: '-шы',
26
- 30: '-шы',
27
- 40: '-шы',
28
- 50: '-ші',
29
- 60: '-шы',
30
- 70: '-ші',
31
- 80: '-ші',
32
- 90: '-шы',
33
- 100: '-ші'
34
- };
14
+ var suffixes = {
15
+ 0: '-ші',
16
+ 1: '-ші',
17
+ 2: '-ші',
18
+ 3: '-ші',
19
+ 4: '-ші',
20
+ 5: '-ші',
21
+ 6: '-шы',
22
+ 7: '-ші',
23
+ 8: '-ші',
24
+ 9: '-шы',
25
+ 10: '-шы',
26
+ 20: '-шы',
27
+ 30: '-шы',
28
+ 40: '-шы',
29
+ 50: '-ші',
30
+ 60: '-шы',
31
+ 70: '-ші',
32
+ 80: '-ші',
33
+ 90: '-шы',
34
+ 100: '-ші',
35
+ };
35
36
 
36
- var kk = moment.defineLocale('kk', {
37
- months : 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split('_'),
38
- monthsShort : 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'),
39
- weekdays : 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split('_'),
40
- weekdaysShort : 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'),
41
- weekdaysMin : 'жк_дй_сй_ср_бй_жм_сн'.split('_'),
42
- longDateFormat : {
43
- LT : 'HH:mm',
44
- LTS : 'HH:mm:ss',
45
- L : 'DD.MM.YYYY',
46
- LL : 'D MMMM YYYY',
47
- LLL : 'D MMMM YYYY HH:mm',
48
- LLLL : 'dddd, D MMMM YYYY HH:mm'
49
- },
50
- calendar : {
51
- sameDay : '[Бүгін сағат] LT',
52
- nextDay : '[Ертең сағат] LT',
53
- nextWeek : 'dddd [сағат] LT',
54
- lastDay : '[Кеше сағат] LT',
55
- lastWeek : '[Өткен аптаның] dddd [сағат] LT',
56
- sameElse : 'L'
57
- },
58
- relativeTime : {
59
- future : '%s ішінде',
60
- past : '%s бұрын',
61
- s : 'бірнеше секунд',
62
- ss : '%d секунд',
63
- m : 'бір минут',
64
- mm : '%d минут',
65
- h : 'бір сағат',
66
- hh : '%d сағат',
67
- d : 'бір күн',
68
- dd : '%d күн',
69
- M : 'бір ай',
70
- MM : '%d ай',
71
- y : 'бір жыл',
72
- yy : '%d жыл'
73
- },
74
- dayOfMonthOrdinalParse: /\d{1,2}-(ші|шы)/,
75
- ordinal : function (number) {
76
- var a = number % 10,
77
- b = number >= 100 ? 100 : null;
78
- return number + (suffixes[number] || suffixes[a] || suffixes[b]);
79
- },
80
- week : {
81
- dow : 1, // Monday is the first day of the week.
82
- doy : 7 // The week that contains Jan 1st is the first week of the year.
83
- }
84
- });
37
+ var kk = moment.defineLocale('kk', {
38
+ months: 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split(
39
+ '_'
40
+ ),
41
+ monthsShort: 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'),
42
+ weekdays: 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split(
43
+ '_'
44
+ ),
45
+ weekdaysShort: 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'),
46
+ weekdaysMin: 'жк_дй_сй_ср_бй_жм_сн'.split('_'),
47
+ longDateFormat: {
48
+ LT: 'HH:mm',
49
+ LTS: 'HH:mm:ss',
50
+ L: 'DD.MM.YYYY',
51
+ LL: 'D MMMM YYYY',
52
+ LLL: 'D MMMM YYYY HH:mm',
53
+ LLLL: 'dddd, D MMMM YYYY HH:mm',
54
+ },
55
+ calendar: {
56
+ sameDay: '[Бүгін сағат] LT',
57
+ nextDay: '[Ертең сағат] LT',
58
+ nextWeek: 'dddd [сағат] LT',
59
+ lastDay: '[Кеше сағат] LT',
60
+ lastWeek: '[Өткен аптаның] dddd [сағат] LT',
61
+ sameElse: 'L',
62
+ },
63
+ relativeTime: {
64
+ future: '%s ішінде',
65
+ past: '%s бұрын',
66
+ s: 'бірнеше секунд',
67
+ ss: '%d секунд',
68
+ m: 'бір минут',
69
+ mm: '%d минут',
70
+ h: 'бір сағат',
71
+ hh: '%d сағат',
72
+ d: 'бір күн',
73
+ dd: '%d күн',
74
+ M: 'бір ай',
75
+ MM: '%d ай',
76
+ y: 'бір жыл',
77
+ yy: '%d жыл',
78
+ },
79
+ dayOfMonthOrdinalParse: /\d{1,2}-(ші|шы)/,
80
+ ordinal: function (number) {
81
+ var a = number % 10,
82
+ b = number >= 100 ? 100 : null;
83
+ return number + (suffixes[number] || suffixes[a] || suffixes[b]);
84
+ },
85
+ week: {
86
+ dow: 1, // Monday is the first day of the week.
87
+ doy: 7, // The week that contains Jan 7th is the first week of the year.
88
+ },
89
+ });
85
90
 
86
- return kk;
91
+ return kk;
87
92
 
88
93
  })));
@@ -9,51 +9,105 @@
9
9
  factory(global.moment)
10
10
  }(this, (function (moment) { 'use strict';
11
11
 
12
+ //! moment.js locale configuration
12
13
 
13
- var km = moment.defineLocale('km', {
14
- months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split('_'),
15
- monthsShort: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split('_'),
16
- weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),
17
- weekdaysShort: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),
18
- weekdaysMin: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),
19
- longDateFormat: {
20
- LT: 'HH:mm',
21
- LTS : 'HH:mm:ss',
22
- L: 'DD/MM/YYYY',
23
- LL: 'D MMMM YYYY',
24
- LLL: 'D MMMM YYYY HH:mm',
25
- LLLL: 'dddd, D MMMM YYYY HH:mm'
26
- },
27
- calendar: {
28
- sameDay: '[ថ្ងៃនេះ ម៉ោង] LT',
29
- nextDay: '[ស្អែក ម៉ោង] LT',
30
- nextWeek: 'dddd [ម៉ោង] LT',
31
- lastDay: '[ម្សិលមិញ ម៉ោង] LT',
32
- lastWeek: 'dddd [សប្តាហ៍មុន] [ម៉ោង] LT',
33
- sameElse: 'L'
34
- },
35
- relativeTime: {
36
- future: '%sទៀត',
37
- past: '%sមុន',
38
- s: 'ប៉ុន្មានវិនាទី',
39
- ss: '%d វិនាទី',
40
- m: 'មួយនាទី',
41
- mm: '%d នាទី',
42
- h: 'មួយម៉ោង',
43
- hh: '%d ម៉ោង',
44
- d: 'មួយថ្ងៃ',
45
- dd: '%d ថ្ងៃ',
46
- M: 'មួយខែ',
47
- MM: '%d ខែ',
48
- y: 'មួយឆ្នាំ',
49
- yy: '%d ឆ្នាំ'
50
- },
51
- week: {
52
- dow: 1, // Monday is the first day of the week.
53
- doy: 4 // The week that contains Jan 4th is the first week of the year.
54
- }
55
- });
14
+ var symbolMap = {
15
+ 1: '',
16
+ 2: '',
17
+ 3: '',
18
+ 4: '',
19
+ 5: '',
20
+ 6: '៦',
21
+ 7: '',
22
+ 8: '',
23
+ 9: '',
24
+ 0: '',
25
+ },
26
+ numberMap = {
27
+ '១': '1',
28
+ '២': '2',
29
+ '៣': '3',
30
+ '៤': '4',
31
+ '៥': '5',
32
+ '៦': '6',
33
+ '៧': '7',
34
+ '៨': '8',
35
+ '៩': '9',
36
+ '០': '0',
37
+ };
56
38
 
57
- return km;
39
+ var km = moment.defineLocale('km', {
40
+ months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split(
41
+ '_'
42
+ ),
43
+ monthsShort: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split(
44
+ '_'
45
+ ),
46
+ weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),
47
+ weekdaysShort: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'),
48
+ weekdaysMin: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'),
49
+ weekdaysParseExact: true,
50
+ longDateFormat: {
51
+ LT: 'HH:mm',
52
+ LTS: 'HH:mm:ss',
53
+ L: 'DD/MM/YYYY',
54
+ LL: 'D MMMM YYYY',
55
+ LLL: 'D MMMM YYYY HH:mm',
56
+ LLLL: 'dddd, D MMMM YYYY HH:mm',
57
+ },
58
+ meridiemParse: /ព្រឹក|ល្ងាច/,
59
+ isPM: function (input) {
60
+ return input === 'ល្ងាច';
61
+ },
62
+ meridiem: function (hour, minute, isLower) {
63
+ if (hour < 12) {
64
+ return 'ព្រឹក';
65
+ } else {
66
+ return 'ល្ងាច';
67
+ }
68
+ },
69
+ calendar: {
70
+ sameDay: '[ថ្ងៃនេះ ម៉ោង] LT',
71
+ nextDay: '[ស្អែក ម៉ោង] LT',
72
+ nextWeek: 'dddd [ម៉ោង] LT',
73
+ lastDay: '[ម្សិលមិញ ម៉ោង] LT',
74
+ lastWeek: 'dddd [សប្តាហ៍មុន] [ម៉ោង] LT',
75
+ sameElse: 'L',
76
+ },
77
+ relativeTime: {
78
+ future: '%sទៀត',
79
+ past: '%sមុន',
80
+ s: 'ប៉ុន្មានវិនាទី',
81
+ ss: '%d វិនាទី',
82
+ m: 'មួយនាទី',
83
+ mm: '%d នាទី',
84
+ h: 'មួយម៉ោង',
85
+ hh: '%d ម៉ោង',
86
+ d: 'មួយថ្ងៃ',
87
+ dd: '%d ថ្ងៃ',
88
+ M: 'មួយខែ',
89
+ MM: '%d ខែ',
90
+ y: 'មួយឆ្នាំ',
91
+ yy: '%d ឆ្នាំ',
92
+ },
93
+ dayOfMonthOrdinalParse: /ទី\d{1,2}/,
94
+ ordinal: 'ទី%d',
95
+ preparse: function (string) {
96
+ return string.replace(/[១២៣៤៥៦៧៨៩០]/g, function (match) {
97
+ return numberMap[match];
98
+ });
99
+ },
100
+ postformat: function (string) {
101
+ return string.replace(/\d/g, function (match) {
102
+ return symbolMap[match];
103
+ });
104
+ },
105
+ week: {
106
+ dow: 1, // Monday is the first day of the week.
107
+ doy: 4, // The week that contains Jan 4th is the first week of the year.
108
+ },
109
+ });
110
+
111
+ return km;
58
112
 
59
113
  })));
@@ -9,119 +9,126 @@
9
9
  factory(global.moment)
10
10
  }(this, (function (moment) { 'use strict';
11
11
 
12
+ //! moment.js locale configuration
12
13
 
13
- var symbolMap = {
14
- '1': '೧',
15
- '2': '೨',
16
- '3': '೩',
17
- '4': '೪',
18
- '5': '೫',
19
- '6': '೬',
20
- '7': '೭',
21
- '8': '೮',
22
- '9': '೯',
23
- '0': '೦'
24
- };
25
- var numberMap = {
26
- '೧': '1',
27
- '೨': '2',
28
- '೩': '3',
29
- '೪': '4',
30
- '೫': '5',
31
- '೬': '6',
32
- '೭': '7',
33
- '೮': '8',
34
- '೯': '9',
35
- '೦': '0'
36
- };
14
+ var symbolMap = {
15
+ 1: '೧',
16
+ 2: '೨',
17
+ 3: '೩',
18
+ 4: '೪',
19
+ 5: '೫',
20
+ 6: '೬',
21
+ 7: '೭',
22
+ 8: '೮',
23
+ 9: '೯',
24
+ 0: '೦',
25
+ },
26
+ numberMap = {
27
+ '೧': '1',
28
+ '೨': '2',
29
+ '೩': '3',
30
+ '೪': '4',
31
+ '೫': '5',
32
+ '೬': '6',
33
+ '೭': '7',
34
+ '೮': '8',
35
+ '೯': '9',
36
+ '೦': '0',
37
+ };
37
38
 
38
- var kn = moment.defineLocale('kn', {
39
- months : 'ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್'.split('_'),
40
- monthsShort : 'ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬ_ಅಕ್ಟೋಬ_ನವೆಂಬ_ಡಿಸೆಂಬ'.split('_'),
41
- monthsParseExact: true,
42
- weekdays : 'ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ'.split('_'),
43
- weekdaysShort : 'ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ'.split('_'),
44
- weekdaysMin : 'ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ'.split('_'),
45
- longDateFormat : {
46
- LT : 'A h:mm',
47
- LTS : 'A h:mm:ss',
48
- L : 'DD/MM/YYYY',
49
- LL : 'D MMMM YYYY',
50
- LLL : 'D MMMM YYYY, A h:mm',
51
- LLLL : 'dddd, D MMMM YYYY, A h:mm'
52
- },
53
- calendar : {
54
- sameDay : '[ಇಂದು] LT',
55
- nextDay : '[ನಾಳೆ] LT',
56
- nextWeek : 'dddd, LT',
57
- lastDay : '[ನಿನ್ನೆ] LT',
58
- lastWeek : '[ಕೊನೆಯ] dddd, LT',
59
- sameElse : 'L'
60
- },
61
- relativeTime : {
62
- future : '%s ನಂತರ',
63
- past : '%s ಹಿಂದೆ',
64
- s : 'ಕೆಲವು ಕ್ಷಣಗಳು',
65
- ss : '%d ಸೆಕೆಂಡುಗಳು',
66
- m : 'ಒಂದು ನಿಮಿಷ',
67
- mm : '%d ನಿಮಿಷ',
68
- h : 'ಒಂದು ಗಂಟೆ',
69
- hh : '%d ಗಂಟೆ',
70
- d : 'ಒಂದು ದಿನ',
71
- dd : '%d ದಿನ',
72
- M : 'ಒಂದು ತಿಂಗಳು',
73
- MM : '%d ತಿಂಗಳು',
74
- y : 'ಒಂದು ವರ್ಷ',
75
- yy : '%d ವರ್ಷ'
76
- },
77
- preparse: function (string) {
78
- return string.replace(/[೧೨೩೪೫೬೭೮೯೦]/g, function (match) {
79
- return numberMap[match];
80
- });
81
- },
82
- postformat: function (string) {
83
- return string.replace(/\d/g, function (match) {
84
- return symbolMap[match];
85
- });
86
- },
87
- meridiemParse: /ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,
88
- meridiemHour : function (hour, meridiem) {
89
- if (hour === 12) {
90
- hour = 0;
91
- }
92
- if (meridiem === 'ರಾತ್ರಿ') {
93
- return hour < 4 ? hour : hour + 12;
94
- } else if (meridiem === 'ಬೆಳಿಗ್ಗೆ') {
95
- return hour;
96
- } else if (meridiem === 'ಮಧ್ಯಾಹ್ನ') {
97
- return hour >= 10 ? hour : hour + 12;
98
- } else if (meridiem === 'ಸಂಜೆ') {
99
- return hour + 12;
100
- }
101
- },
102
- meridiem : function (hour, minute, isLower) {
103
- if (hour < 4) {
104
- return 'ರಾತ್ರಿ';
105
- } else if (hour < 10) {
106
- return 'ಬೆಳಿಗ್ಗೆ';
107
- } else if (hour < 17) {
108
- return 'ಮಧ್ಯಾಹ್ನ';
109
- } else if (hour < 20) {
110
- return 'ಸಂಜೆ';
111
- } else {
112
- return 'ರಾತ್ರಿ';
113
- }
114
- },
115
- dayOfMonthOrdinalParse: /\d{1,2}(ನೇ)/,
116
- ordinal : function (number) {
117
- return number + 'ನೇ';
118
- },
119
- week : {
120
- dow : 0, // Sunday is the first day of the week.
121
- doy : 6 // The week that contains Jan 1st is the first week of the year.
122
- }
123
- });
39
+ var kn = moment.defineLocale('kn', {
40
+ months: 'ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್'.split(
41
+ '_'
42
+ ),
43
+ monthsShort: 'ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ'.split(
44
+ '_'
45
+ ),
46
+ monthsParseExact: true,
47
+ weekdays: 'ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ'.split(
48
+ '_'
49
+ ),
50
+ weekdaysShort: 'ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ'.split('_'),
51
+ weekdaysMin: 'ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ'.split('_'),
52
+ longDateFormat: {
53
+ LT: 'A h:mm',
54
+ LTS: 'A h:mm:ss',
55
+ L: 'DD/MM/YYYY',
56
+ LL: 'D MMMM YYYY',
57
+ LLL: 'D MMMM YYYY, A h:mm',
58
+ LLLL: 'dddd, D MMMM YYYY, A h:mm',
59
+ },
60
+ calendar: {
61
+ sameDay: '[ಇಂದು] LT',
62
+ nextDay: '[ನಾಳೆ] LT',
63
+ nextWeek: 'dddd, LT',
64
+ lastDay: '[ನಿನ್ನೆ] LT',
65
+ lastWeek: '[ಕೊನೆಯ] dddd, LT',
66
+ sameElse: 'L',
67
+ },
68
+ relativeTime: {
69
+ future: '%s ನಂತರ',
70
+ past: '%s ಹಿಂದೆ',
71
+ s: 'ಕೆಲವು ಕ್ಷಣಗಳು',
72
+ ss: '%d ಸೆಕೆಂಡುಗಳು',
73
+ m: 'ಒಂದು ನಿಮಿಷ',
74
+ mm: '%d ನಿಮಿಷ',
75
+ h: 'ಒಂದು ಗಂಟೆ',
76
+ hh: '%d ಗಂಟೆ',
77
+ d: 'ಒಂದು ದಿನ',
78
+ dd: '%d ದಿನ',
79
+ M: 'ಒಂದು ತಿಂಗಳು',
80
+ MM: '%d ತಿಂಗಳು',
81
+ y: 'ಒಂದು ವರ್ಷ',
82
+ yy: '%d ವರ್ಷ',
83
+ },
84
+ preparse: function (string) {
85
+ return string.replace(/[೧೨೩೪೫೬೭೮೯೦]/g, function (match) {
86
+ return numberMap[match];
87
+ });
88
+ },
89
+ postformat: function (string) {
90
+ return string.replace(/\d/g, function (match) {
91
+ return symbolMap[match];
92
+ });
93
+ },
94
+ meridiemParse: /ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,
95
+ meridiemHour: function (hour, meridiem) {
96
+ if (hour === 12) {
97
+ hour = 0;
98
+ }
99
+ if (meridiem === 'ರಾತ್ರಿ') {
100
+ return hour < 4 ? hour : hour + 12;
101
+ } else if (meridiem === 'ಬೆಳಿಗ್ಗೆ') {
102
+ return hour;
103
+ } else if (meridiem === 'ಮಧ್ಯಾಹ್ನ') {
104
+ return hour >= 10 ? hour : hour + 12;
105
+ } else if (meridiem === 'ಸಂಜೆ') {
106
+ return hour + 12;
107
+ }
108
+ },
109
+ meridiem: function (hour, minute, isLower) {
110
+ if (hour < 4) {
111
+ return 'ರಾತ್ರಿ';
112
+ } else if (hour < 10) {
113
+ return 'ಬೆಳಿಗ್ಗೆ';
114
+ } else if (hour < 17) {
115
+ return 'ಮಧ್ಯಾಹ್ನ';
116
+ } else if (hour < 20) {
117
+ return 'ಸಂಜೆ';
118
+ } else {
119
+ return 'ರಾತ್ರಿ';
120
+ }
121
+ },
122
+ dayOfMonthOrdinalParse: /\d{1,2}(ನೇ)/,
123
+ ordinal: function (number) {
124
+ return number + 'ನೇ';
125
+ },
126
+ week: {
127
+ dow: 0, // Sunday is the first day of the week.
128
+ doy: 6, // The week that contains Jan 6th is the first week of the year.
129
+ },
130
+ });
124
131
 
125
- return kn;
132
+ return kn;
126
133
 
127
134
  })));