momentjs-rails 2.11.1 → 2.15.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (117) 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/D1C/680/sprockets%2F16ed4d5afdb2919596e6f8790e2116c2 +0 -0
  5. data/test/dummy/tmp/cache/assets/D35/CA0/sprockets%2F493e64bce2d302801dc01cf7cd096a58 +0 -0
  6. data/test/dummy/tmp/cache/assets/D3F/5F0/sprockets%2F4a6c53eae7c6e41a69a191578bbb6417 +0 -0
  7. data/test/dummy/tmp/cache/assets/D58/BD0/sprockets%2F4de9ddc9b725c715a54c98697b2528fe +0 -0
  8. data/test/dummy/tmp/cache/assets/D75/510/sprockets%2Fe690787ac522f47a6be024bfcc1767ee +0 -0
  9. data/test/dummy/tmp/cache/assets/E10/250/sprockets%2Fe4badb9ddfda484eb9671bf88567be61 +0 -0
  10. data/test/integration/navigation_test.rb +1 -1
  11. data/vendor/assets/javascripts/moment.js +1517 -889
  12. data/vendor/assets/javascripts/moment/af.js +3 -3
  13. data/vendor/assets/javascripts/moment/ar-ly.js +122 -0
  14. data/vendor/assets/javascripts/moment/ar-ma.js +3 -2
  15. data/vendor/assets/javascripts/moment/ar-sa.js +3 -2
  16. data/vendor/assets/javascripts/moment/ar-tn.js +4 -2
  17. data/vendor/assets/javascripts/moment/ar.js +6 -5
  18. data/vendor/assets/javascripts/moment/az.js +3 -2
  19. data/vendor/assets/javascripts/moment/be.js +21 -21
  20. data/vendor/assets/javascripts/moment/bg.js +11 -11
  21. data/vendor/assets/javascripts/moment/bn.js +18 -12
  22. data/vendor/assets/javascripts/moment/bo.js +13 -4
  23. data/vendor/assets/javascripts/moment/br.js +11 -10
  24. data/vendor/assets/javascripts/moment/bs.js +73 -71
  25. data/vendor/assets/javascripts/moment/ca.js +4 -2
  26. data/vendor/assets/javascripts/moment/cs.js +76 -75
  27. data/vendor/assets/javascripts/moment/cv.js +2 -2
  28. data/vendor/assets/javascripts/moment/cy.js +5 -3
  29. data/vendor/assets/javascripts/moment/da.js +2 -2
  30. data/vendor/assets/javascripts/moment/de-at.js +4 -2
  31. data/vendor/assets/javascripts/moment/de.js +4 -2
  32. data/vendor/assets/javascripts/moment/dv.js +3 -3
  33. data/vendor/assets/javascripts/moment/el.js +2 -2
  34. data/vendor/assets/javascripts/moment/en-au.js +3 -2
  35. data/vendor/assets/javascripts/moment/en-ca.js +5 -5
  36. data/vendor/assets/javascripts/moment/en-gb.js +2 -2
  37. data/vendor/assets/javascripts/moment/en-ie.js +2 -2
  38. data/vendor/assets/javascripts/moment/en-nz.js +3 -2
  39. data/vendor/assets/javascripts/moment/eo.js +2 -2
  40. data/vendor/assets/javascripts/moment/es-do.js +80 -0
  41. data/vendor/assets/javascripts/moment/es.js +4 -2
  42. data/vendor/assets/javascripts/moment/et.js +2 -2
  43. data/vendor/assets/javascripts/moment/eu.js +4 -2
  44. data/vendor/assets/javascripts/moment/fa.js +3 -2
  45. data/vendor/assets/javascripts/moment/fi.js +29 -29
  46. data/vendor/assets/javascripts/moment/fo.js +2 -2
  47. data/vendor/assets/javascripts/moment/fr-ca.js +4 -2
  48. data/vendor/assets/javascripts/moment/fr-ch.js +4 -2
  49. data/vendor/assets/javascripts/moment/fr.js +4 -2
  50. data/vendor/assets/javascripts/moment/fy.js +4 -2
  51. data/vendor/assets/javascripts/moment/gd.js +2 -2
  52. data/vendor/assets/javascripts/moment/gl.js +15 -13
  53. data/vendor/assets/javascripts/moment/he.js +19 -2
  54. data/vendor/assets/javascripts/moment/hi.js +3 -2
  55. data/vendor/assets/javascripts/moment/hr.js +73 -71
  56. data/vendor/assets/javascripts/moment/hu.js +24 -24
  57. data/vendor/assets/javascripts/moment/hy-am.js +12 -12
  58. data/vendor/assets/javascripts/moment/id.js +2 -2
  59. data/vendor/assets/javascripts/moment/is.js +52 -52
  60. data/vendor/assets/javascripts/moment/it.js +2 -2
  61. data/vendor/assets/javascripts/moment/ja.js +13 -2
  62. data/vendor/assets/javascripts/moment/jv.js +2 -2
  63. data/vendor/assets/javascripts/moment/ka.js +2 -2
  64. data/vendor/assets/javascripts/moment/kk.js +7 -7
  65. data/vendor/assets/javascripts/moment/km.js +4 -4
  66. data/vendor/assets/javascripts/moment/ko.js +8 -11
  67. data/vendor/assets/javascripts/moment/ky.js +88 -0
  68. data/vendor/assets/javascripts/moment/lb.js +6 -3
  69. data/vendor/assets/javascripts/moment/lo.js +3 -2
  70. data/vendor/assets/javascripts/moment/lt.js +5 -3
  71. data/vendor/assets/javascripts/moment/lv.js +5 -4
  72. data/vendor/assets/javascripts/moment/me.js +21 -19
  73. data/vendor/assets/javascripts/moment/mi.js +64 -0
  74. data/vendor/assets/javascripts/moment/mk.js +11 -11
  75. data/vendor/assets/javascripts/moment/ml.js +14 -4
  76. data/vendor/assets/javascripts/moment/mr.js +3 -2
  77. data/vendor/assets/javascripts/moment/ms-my.js +3 -2
  78. data/vendor/assets/javascripts/moment/ms.js +2 -2
  79. data/vendor/assets/javascripts/moment/my.js +4 -2
  80. data/vendor/assets/javascripts/moment/nb.js +5 -3
  81. data/vendor/assets/javascripts/moment/ne.js +4 -2
  82. data/vendor/assets/javascripts/moment/nl.js +18 -3
  83. data/vendor/assets/javascripts/moment/nn.js +3 -3
  84. data/vendor/assets/javascripts/moment/pa-in.js +124 -0
  85. data/vendor/assets/javascripts/moment/pl.js +22 -22
  86. data/vendor/assets/javascripts/moment/pt-br.js +4 -3
  87. data/vendor/assets/javascripts/moment/pt.js +3 -2
  88. data/vendor/assets/javascripts/moment/ro.js +3 -2
  89. data/vendor/assets/javascripts/moment/ru.js +59 -42
  90. data/vendor/assets/javascripts/moment/se.js +2 -2
  91. data/vendor/assets/javascripts/moment/si.js +7 -2
  92. data/vendor/assets/javascripts/moment/sk.js +74 -74
  93. data/vendor/assets/javascripts/moment/sl.js +92 -90
  94. data/vendor/assets/javascripts/moment/sq.js +5 -4
  95. data/vendor/assets/javascripts/moment/sr-cyrl.js +21 -19
  96. data/vendor/assets/javascripts/moment/sr.js +21 -19
  97. data/vendor/assets/javascripts/moment/ss.js +89 -0
  98. data/vendor/assets/javascripts/moment/sv.js +6 -4
  99. data/vendor/assets/javascripts/moment/sw.js +3 -2
  100. data/vendor/assets/javascripts/moment/ta.js +2 -2
  101. data/vendor/assets/javascripts/moment/te.js +3 -2
  102. data/vendor/assets/javascripts/moment/th.js +9 -7
  103. data/vendor/assets/javascripts/moment/tl-ph.js +3 -3
  104. data/vendor/assets/javascripts/moment/tlh.js +18 -17
  105. data/vendor/assets/javascripts/moment/tr.js +2 -2
  106. data/vendor/assets/javascripts/moment/tzl.js +8 -4
  107. data/vendor/assets/javascripts/moment/tzm-latn.js +2 -2
  108. data/vendor/assets/javascripts/moment/tzm.js +2 -2
  109. data/vendor/assets/javascripts/moment/uk.js +21 -21
  110. data/vendor/assets/javascripts/moment/uz.js +2 -2
  111. data/vendor/assets/javascripts/moment/vi.js +15 -2
  112. data/vendor/assets/javascripts/moment/x-pseudo.js +68 -0
  113. data/vendor/assets/javascripts/moment/zh-cn.js +14 -14
  114. data/vendor/assets/javascripts/moment/zh-hk.js +105 -0
  115. data/vendor/assets/javascripts/moment/zh-tw.js +29 -26
  116. metadata +10 -4
  117. data/test/dummy/log/test.log +0 -47
@@ -1,11 +1,11 @@
1
1
  //! moment.js locale configuration
2
- //! locale : Armenian (hy-am)
2
+ //! locale : Armenian [hy-am]
3
3
  //! author : Armendarabyan : https://github.com/armendarabyan
4
4
 
5
5
  ;(function (global, factory) {
6
6
  typeof exports === 'object' && typeof module !== 'undefined'
7
7
  && typeof require === 'function' ? factory(require('../moment')) :
8
- typeof define === 'function' && define.amd ? define(['moment'], factory) :
8
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
9
9
  factory(global.moment)
10
10
  }(this, function (moment) { 'use strict';
11
11
 
@@ -72,16 +72,16 @@
72
72
  ordinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/,
73
73
  ordinal: function (number, period) {
74
74
  switch (period) {
75
- case 'DDD':
76
- case 'w':
77
- case 'W':
78
- case 'DDDo':
79
- if (number === 1) {
80
- return number + '-ին';
81
- }
82
- return number + '-րդ';
83
- default:
84
- return number;
75
+ case 'DDD':
76
+ case 'w':
77
+ case 'W':
78
+ case 'DDDo':
79
+ if (number === 1) {
80
+ return number + '-ին';
81
+ }
82
+ return number + '-րդ';
83
+ default:
84
+ return number;
85
85
  }
86
86
  },
87
87
  week : {
@@ -1,12 +1,12 @@
1
1
  //! moment.js locale configuration
2
- //! locale : Bahasa Indonesia (id)
2
+ //! locale : Indonesian [id]
3
3
  //! author : Mohammad Satrio Utomo : https://github.com/tyok
4
4
  //! reference: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan
5
5
 
6
6
  ;(function (global, factory) {
7
7
  typeof exports === 'object' && typeof module !== 'undefined'
8
8
  && typeof require === 'function' ? factory(require('../moment')) :
9
- typeof define === 'function' && define.amd ? define(['moment'], factory) :
9
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
10
10
  factory(global.moment)
11
11
  }(this, function (moment) { 'use strict';
12
12
 
@@ -1,11 +1,11 @@
1
1
  //! moment.js locale configuration
2
- //! locale : icelandic (is)
2
+ //! locale : Icelandic [is]
3
3
  //! author : Hinrik Örn Sigurðsson : https://github.com/hinrik
4
4
 
5
5
  ;(function (global, factory) {
6
6
  typeof exports === 'object' && typeof module !== 'undefined'
7
7
  && typeof require === 'function' ? factory(require('../moment')) :
8
- typeof define === 'function' && define.amd ? define(['moment'], factory) :
8
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
9
9
  factory(global.moment)
10
10
  }(this, function (moment) { 'use strict';
11
11
 
@@ -21,59 +21,59 @@
21
21
  function translate(number, withoutSuffix, key, isFuture) {
22
22
  var result = number + ' ';
23
23
  switch (key) {
24
- case 's':
25
- return withoutSuffix || isFuture ? 'nokkrar sekúndur' : 'nokkrum sekúndum';
26
- case 'm':
27
- return withoutSuffix ? 'mínúta' : 'mínútu';
28
- case 'mm':
29
- if (plural(number)) {
30
- return result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum');
31
- } else if (withoutSuffix) {
32
- return result + 'mínúta';
33
- }
34
- return result + 'mínútu';
35
- case 'hh':
36
- if (plural(number)) {
37
- return result + (withoutSuffix || isFuture ? 'klukkustundir' : 'klukkustundum');
38
- }
39
- return result + 'klukkustund';
40
- case 'd':
41
- if (withoutSuffix) {
42
- return 'dagur';
43
- }
44
- return isFuture ? 'dag' : 'degi';
45
- case 'dd':
46
- if (plural(number)) {
24
+ case 's':
25
+ return withoutSuffix || isFuture ? 'nokkrar sekúndur' : 'nokkrum sekúndum';
26
+ case 'm':
27
+ return withoutSuffix ? 'mínúta' : 'mínútu';
28
+ case 'mm':
29
+ if (plural(number)) {
30
+ return result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum');
31
+ } else if (withoutSuffix) {
32
+ return result + 'mínúta';
33
+ }
34
+ return result + 'mínútu';
35
+ case 'hh':
36
+ if (plural(number)) {
37
+ return result + (withoutSuffix || isFuture ? 'klukkustundir' : 'klukkustundum');
38
+ }
39
+ return result + 'klukkustund';
40
+ case 'd':
47
41
  if (withoutSuffix) {
48
- return result + 'dagar';
42
+ return 'dagur';
43
+ }
44
+ return isFuture ? 'dag' : 'degi';
45
+ case 'dd':
46
+ if (plural(number)) {
47
+ if (withoutSuffix) {
48
+ return result + 'dagar';
49
+ }
50
+ return result + (isFuture ? 'daga' : 'dögum');
51
+ } else if (withoutSuffix) {
52
+ return result + 'dagur';
49
53
  }
50
- return result + (isFuture ? 'daga' : 'dögum');
51
- } else if (withoutSuffix) {
52
- return result + 'dagur';
53
- }
54
- return result + (isFuture ? 'dag' : 'degi');
55
- case 'M':
56
- if (withoutSuffix) {
57
- return 'mánuður';
58
- }
59
- return isFuture ? 'mánuð' : 'mánuði';
60
- case 'MM':
61
- if (plural(number)) {
54
+ return result + (isFuture ? 'dag' : 'degi');
55
+ case 'M':
62
56
  if (withoutSuffix) {
63
- return result + 'mánuðir';
57
+ return 'mánuður';
58
+ }
59
+ return isFuture ? 'mánuð' : 'mánuði';
60
+ case 'MM':
61
+ if (plural(number)) {
62
+ if (withoutSuffix) {
63
+ return result + 'mánuðir';
64
+ }
65
+ return result + (isFuture ? 'mánuði' : 'mánuðum');
66
+ } else if (withoutSuffix) {
67
+ return result + 'mánuður';
68
+ }
69
+ return result + (isFuture ? 'mánuð' : 'mánuði');
70
+ case 'y':
71
+ return withoutSuffix || isFuture ? 'ár' : 'ári';
72
+ case 'yy':
73
+ if (plural(number)) {
74
+ return result + (withoutSuffix || isFuture ? 'ár' : 'árum');
64
75
  }
65
- return result + (isFuture ? 'mánuði' : 'mánuðum');
66
- } else if (withoutSuffix) {
67
- return result + 'mánuður';
68
- }
69
- return result + (isFuture ? 'mánuð' : 'mánuði');
70
- case 'y':
71
- return withoutSuffix || isFuture ? 'ár' : 'ári';
72
- case 'yy':
73
- if (plural(number)) {
74
- return result + (withoutSuffix || isFuture ? 'ár' : 'árum');
75
- }
76
- return result + (withoutSuffix || isFuture ? 'ár' : 'ári');
76
+ return result + (withoutSuffix || isFuture ? 'ár' : 'ári');
77
77
  }
78
78
  }
79
79
 
@@ -86,7 +86,7 @@
86
86
  longDateFormat : {
87
87
  LT : 'H:mm',
88
88
  LTS : 'H:mm:ss',
89
- L : 'DD/MM/YYYY',
89
+ L : 'DD.MM.YYYY',
90
90
  LL : 'D. MMMM YYYY',
91
91
  LLL : 'D. MMMM YYYY [kl.] H:mm',
92
92
  LLLL : 'dddd, D. MMMM YYYY [kl.] H:mm'
@@ -1,12 +1,12 @@
1
1
  //! moment.js locale configuration
2
- //! locale : italian (it)
2
+ //! locale : Italian [it]
3
3
  //! author : Lorenzo : https://github.com/aliem
4
4
  //! author: Mattia Larentis: https://github.com/nostalgiaz
5
5
 
6
6
  ;(function (global, factory) {
7
7
  typeof exports === 'object' && typeof module !== 'undefined'
8
8
  && typeof require === 'function' ? factory(require('../moment')) :
9
- typeof define === 'function' && define.amd ? define(['moment'], factory) :
9
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
10
10
  factory(global.moment)
11
11
  }(this, function (moment) { 'use strict';
12
12
 
@@ -1,11 +1,11 @@
1
1
  //! moment.js locale configuration
2
- //! locale : japanese (ja)
2
+ //! locale : Japanese [ja]
3
3
  //! author : LI Long : https://github.com/baryon
4
4
 
5
5
  ;(function (global, factory) {
6
6
  typeof exports === 'object' && typeof module !== 'undefined'
7
7
  && typeof require === 'function' ? factory(require('../moment')) :
8
- typeof define === 'function' && define.amd ? define(['moment'], factory) :
8
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
9
9
  factory(global.moment)
10
10
  }(this, function (moment) { 'use strict';
11
11
 
@@ -43,6 +43,17 @@
43
43
  lastWeek : '[前週]dddd LT',
44
44
  sameElse : 'L'
45
45
  },
46
+ ordinalParse : /\d{1,2}日/,
47
+ ordinal : function (number, period) {
48
+ switch (period) {
49
+ case 'd':
50
+ case 'D':
51
+ case 'DDD':
52
+ return number + '日';
53
+ default:
54
+ return number;
55
+ }
56
+ },
46
57
  relativeTime : {
47
58
  future : '%s後',
48
59
  past : '%s前',
@@ -1,12 +1,12 @@
1
1
  //! moment.js locale configuration
2
- //! locale : Boso Jowo (jv)
2
+ //! locale : Japanese [jv]
3
3
  //! author : Rony Lantip : https://github.com/lantip
4
4
  //! reference: http://jv.wikipedia.org/wiki/Basa_Jawa
5
5
 
6
6
  ;(function (global, factory) {
7
7
  typeof exports === 'object' && typeof module !== 'undefined'
8
8
  && typeof require === 'function' ? factory(require('../moment')) :
9
- typeof define === 'function' && define.amd ? define(['moment'], factory) :
9
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
10
10
  factory(global.moment)
11
11
  }(this, function (moment) { 'use strict';
12
12
 
@@ -1,11 +1,11 @@
1
1
  //! moment.js locale configuration
2
- //! locale : Georgian (ka)
2
+ //! locale : Georgian [ka]
3
3
  //! author : Irakli Janiashvili : https://github.com/irakli-janiashvili
4
4
 
5
5
  ;(function (global, factory) {
6
6
  typeof exports === 'object' && typeof module !== 'undefined'
7
7
  && typeof require === 'function' ? factory(require('../moment')) :
8
- typeof define === 'function' && define.amd ? define(['moment'], factory) :
8
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
9
9
  factory(global.moment)
10
10
  }(this, function (moment) { 'use strict';
11
11
 
@@ -1,11 +1,11 @@
1
1
  //! moment.js locale configuration
2
- //! locale : kazakh (kk)
2
+ //! locale : Kazakh [kk]
3
3
  //! authors : Nurlan Rakhimzhanov : https://github.com/nurlan
4
4
 
5
5
  ;(function (global, factory) {
6
6
  typeof exports === 'object' && typeof module !== 'undefined'
7
7
  && typeof require === 'function' ? factory(require('../moment')) :
8
- typeof define === 'function' && define.amd ? define(['moment'], factory) :
8
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
9
9
  factory(global.moment)
10
10
  }(this, function (moment) { 'use strict';
11
11
 
@@ -34,11 +34,11 @@
34
34
  };
35
35
 
36
36
  var kk = moment.defineLocale('kk', {
37
- months : 'Қаңтар_Ақпан_Наурыз_Сәуір_Мамыр_Маусым_Шілде_Тамыз_Қыркүйек_Қазан_Қараша_Желтоқсан'.split('_'),
38
- monthsShort : 'Қаң_Ақп_Нау_Сәу_Мам_Мау_Шіл_Там_Қыр_Қаз_Қар_Жел'.split('_'),
39
- weekdays : 'Жексенбі_Дүйсенбі_Сейсенбі_Сәрсенбі_Бейсенбі_Жұма_Сенбі'.split('_'),
40
- weekdaysShort : 'Жек_Дүй_Сей_Сәр_Бей_Жұм_Сен'.split('_'),
41
- weekdaysMin : 'Жк_Дй_Сй_Ср_Бй_Жм_Сн'.split('_'),
37
+ months : 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split('_'),
38
+ monthsShort : 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'),
39
+ weekdays : 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split('_'),
40
+ weekdaysShort : 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'),
41
+ weekdaysMin : 'жк_дй_сй_ср_бй_жм_сн'.split('_'),
42
42
  longDateFormat : {
43
43
  LT : 'HH:mm',
44
44
  LTS : 'HH:mm:ss',
@@ -1,18 +1,18 @@
1
1
  //! moment.js locale configuration
2
- //! locale : khmer (km)
2
+ //! locale : Cambodian [km]
3
3
  //! author : Kruy Vanna : https://github.com/kruyvanna
4
4
 
5
5
  ;(function (global, factory) {
6
6
  typeof exports === 'object' && typeof module !== 'undefined'
7
7
  && typeof require === 'function' ? factory(require('../moment')) :
8
- typeof define === 'function' && define.amd ? define(['moment'], factory) :
8
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
9
9
  factory(global.moment)
10
10
  }(this, function (moment) { 'use strict';
11
11
 
12
12
 
13
13
  var km = moment.defineLocale('km', {
14
- months: 'មករា_កុម្ភៈ_មិនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split('_'),
15
- monthsShort: 'មករា_កុម្ភៈ_មិនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split('_'),
14
+ months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split('_'),
15
+ monthsShort: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split('_'),
16
16
  weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),
17
17
  weekdaysShort: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),
18
18
  weekdaysMin: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),
@@ -1,15 +1,12 @@
1
1
  //! moment.js locale configuration
2
- //! locale : korean (ko)
3
- //!
4
- //! authors
5
- //!
6
- //! - Kyungwook, Park : https://github.com/kyungw00k
7
- //! - Jeeeyul Lee <jeeeyul@gmail.com>
2
+ //! locale : Korean [ko]
3
+ //! author : Kyungwook, Park : https://github.com/kyungw00k
4
+ //! author : Jeeeyul Lee <jeeeyul@gmail.com>
8
5
 
9
6
  ;(function (global, factory) {
10
7
  typeof exports === 'object' && typeof module !== 'undefined'
11
8
  && typeof require === 'function' ? factory(require('../moment')) :
12
- typeof define === 'function' && define.amd ? define(['moment'], factory) :
9
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
13
10
  factory(global.moment)
14
11
  }(this, function (moment) { 'use strict';
15
12
 
@@ -39,17 +36,17 @@
39
36
  relativeTime : {
40
37
  future : '%s 후',
41
38
  past : '%s 전',
42
- s : '몇초',
39
+ s : '몇 초',
43
40
  ss : '%d초',
44
41
  m : '일분',
45
42
  mm : '%d분',
46
- h : '한시간',
43
+ h : '한 시간',
47
44
  hh : '%d시간',
48
45
  d : '하루',
49
46
  dd : '%d일',
50
- M : '한달',
47
+ M : '한 달',
51
48
  MM : '%d달',
52
- y : '일년',
49
+ y : '일 년',
53
50
  yy : '%d년'
54
51
  },
55
52
  ordinalParse : /\d{1,2}일/,
@@ -0,0 +1,88 @@
1
+ //! moment.js locale configuration
2
+ //! locale : Kyrgyz [ky]
3
+ //! author : Chyngyz Arystan uulu : https://github.com/chyngyz
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';
11
+
12
+
13
+
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
+ };
36
+
37
+ var ky = moment.defineLocale('ky', {
38
+ months : 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split('_'),
39
+ monthsShort : 'янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек'.split('_'),
40
+ weekdays : 'Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби'.split('_'),
41
+ weekdaysShort : 'Жек_Дүй_Шей_Шар_Бей_Жум_Ише'.split('_'),
42
+ weekdaysMin : 'Жк_Дй_Шй_Шр_Бй_Жм_Иш'.split('_'),
43
+ longDateFormat : {
44
+ LT : 'HH:mm',
45
+ LTS : 'HH:mm:ss',
46
+ L : 'DD.MM.YYYY',
47
+ LL : 'D MMMM YYYY',
48
+ LLL : 'D MMMM YYYY HH:mm',
49
+ LLLL : 'dddd, D MMMM YYYY HH:mm'
50
+ },
51
+ calendar : {
52
+ sameDay : '[Бүгүн саат] LT',
53
+ nextDay : '[Эртең саат] LT',
54
+ nextWeek : 'dddd [саат] LT',
55
+ lastDay : '[Кече саат] LT',
56
+ lastWeek : '[Өткен аптанын] dddd [күнү] [саат] LT',
57
+ sameElse : 'L'
58
+ },
59
+ relativeTime : {
60
+ future : '%s ичинде',
61
+ past : '%s мурун',
62
+ s : 'бирнече секунд',
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
+ ordinalParse: /\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
+ });
85
+
86
+ return ky;
87
+
88
+ }));