momentjs-rails 2.10.6 → 2.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +13 -10
  3. data/news.md +3 -0
  4. data/test/dummy/log/test.log +32 -0
  5. data/test/dummy/tmp/cache/assets/D1C/680/sprockets%2F16ed4d5afdb2919596e6f8790e2116c2 +0 -0
  6. data/test/dummy/tmp/cache/assets/D35/CA0/sprockets%2F493e64bce2d302801dc01cf7cd096a58 +0 -0
  7. data/test/dummy/tmp/cache/assets/D3F/5F0/sprockets%2F4a6c53eae7c6e41a69a191578bbb6417 +0 -0
  8. data/test/dummy/tmp/cache/assets/D58/BD0/sprockets%2F4de9ddc9b725c715a54c98697b2528fe +0 -0
  9. data/test/dummy/tmp/cache/assets/D75/510/sprockets%2Fe690787ac522f47a6be024bfcc1767ee +0 -0
  10. data/test/dummy/tmp/cache/assets/E10/250/sprockets%2Fe4badb9ddfda484eb9671bf88567be61 +0 -0
  11. data/test/integration/navigation_test.rb +1 -1
  12. data/vendor/assets/javascripts/moment.js +605 -280
  13. data/vendor/assets/javascripts/moment/af.js +4 -3
  14. data/vendor/assets/javascripts/moment/ar-ma.js +4 -3
  15. data/vendor/assets/javascripts/moment/ar-sa.js +4 -3
  16. data/vendor/assets/javascripts/moment/ar-tn.js +4 -3
  17. data/vendor/assets/javascripts/moment/ar.js +4 -3
  18. data/vendor/assets/javascripts/moment/az.js +4 -3
  19. data/vendor/assets/javascripts/moment/be.js +13 -25
  20. data/vendor/assets/javascripts/moment/bg.js +4 -3
  21. data/vendor/assets/javascripts/moment/bn.js +10 -9
  22. data/vendor/assets/javascripts/moment/bo.js +4 -3
  23. data/vendor/assets/javascripts/moment/br.js +4 -3
  24. data/vendor/assets/javascripts/moment/bs.js +4 -3
  25. data/vendor/assets/javascripts/moment/ca.js +5 -4
  26. data/vendor/assets/javascripts/moment/cs.js +18 -3
  27. data/vendor/assets/javascripts/moment/cv.js +4 -3
  28. data/vendor/assets/javascripts/moment/cy.js +4 -3
  29. data/vendor/assets/javascripts/moment/da.js +4 -3
  30. data/vendor/assets/javascripts/moment/de-at.js +8 -6
  31. data/vendor/assets/javascripts/moment/de.js +8 -6
  32. data/vendor/assets/javascripts/moment/dv.js +99 -0
  33. data/vendor/assets/javascripts/moment/el.js +9 -4
  34. data/vendor/assets/javascripts/moment/en-au.js +8 -4
  35. data/vendor/assets/javascripts/moment/en-ca.js +8 -4
  36. data/vendor/assets/javascripts/moment/en-gb.js +8 -4
  37. data/vendor/assets/javascripts/moment/en-ie.js +70 -0
  38. data/vendor/assets/javascripts/moment/en-nz.js +69 -0
  39. data/vendor/assets/javascripts/moment/eo.js +4 -3
  40. data/vendor/assets/javascripts/moment/es.js +10 -9
  41. data/vendor/assets/javascripts/moment/et.js +4 -3
  42. data/vendor/assets/javascripts/moment/eu.js +4 -3
  43. data/vendor/assets/javascripts/moment/fa.js +4 -3
  44. data/vendor/assets/javascripts/moment/fi.js +4 -3
  45. data/vendor/assets/javascripts/moment/fo.js +4 -3
  46. data/vendor/assets/javascripts/moment/fr-ca.js +4 -3
  47. data/vendor/assets/javascripts/moment/fr-ch.js +62 -0
  48. data/vendor/assets/javascripts/moment/fr.js +4 -3
  49. data/vendor/assets/javascripts/moment/fy.js +4 -3
  50. data/vendor/assets/javascripts/moment/gd.js +86 -0
  51. data/vendor/assets/javascripts/moment/gl.js +4 -3
  52. data/vendor/assets/javascripts/moment/he.js +4 -3
  53. data/vendor/assets/javascripts/moment/hi.js +4 -3
  54. data/vendor/assets/javascripts/moment/hr.js +8 -4
  55. data/vendor/assets/javascripts/moment/hu.js +4 -3
  56. data/vendor/assets/javascripts/moment/hy-am.js +10 -25
  57. data/vendor/assets/javascripts/moment/id.js +4 -3
  58. data/vendor/assets/javascripts/moment/is.js +4 -3
  59. data/vendor/assets/javascripts/moment/it.js +5 -4
  60. data/vendor/assets/javascripts/moment/ja.js +4 -3
  61. data/vendor/assets/javascripts/moment/jv.js +4 -3
  62. data/vendor/assets/javascripts/moment/ka.js +13 -26
  63. data/vendor/assets/javascripts/moment/kk.js +87 -0
  64. data/vendor/assets/javascripts/moment/km.js +5 -4
  65. data/vendor/assets/javascripts/moment/ko.js +4 -3
  66. data/vendor/assets/javascripts/moment/lb.js +4 -3
  67. data/vendor/assets/javascripts/moment/lo.js +69 -0
  68. data/vendor/assets/javascripts/moment/lt.js +14 -23
  69. data/vendor/assets/javascripts/moment/lv.js +4 -3
  70. data/vendor/assets/javascripts/moment/me.js +4 -3
  71. data/vendor/assets/javascripts/moment/mk.js +7 -6
  72. data/vendor/assets/javascripts/moment/ml.js +4 -3
  73. data/vendor/assets/javascripts/moment/mr.js +54 -16
  74. data/vendor/assets/javascripts/moment/ms-my.js +4 -3
  75. data/vendor/assets/javascripts/moment/ms.js +5 -4
  76. data/vendor/assets/javascripts/moment/my.js +4 -3
  77. data/vendor/assets/javascripts/moment/nb.js +10 -9
  78. data/vendor/assets/javascripts/moment/ne.js +18 -19
  79. data/vendor/assets/javascripts/moment/nl.js +4 -3
  80. data/vendor/assets/javascripts/moment/nn.js +7 -6
  81. data/vendor/assets/javascripts/moment/pl.js +5 -4
  82. data/vendor/assets/javascripts/moment/pt-br.js +4 -3
  83. data/vendor/assets/javascripts/moment/pt.js +4 -3
  84. data/vendor/assets/javascripts/moment/ro.js +4 -3
  85. data/vendor/assets/javascripts/moment/ru.js +43 -40
  86. data/vendor/assets/javascripts/moment/se.js +61 -0
  87. data/vendor/assets/javascripts/moment/si.js +5 -3
  88. data/vendor/assets/javascripts/moment/sk.js +4 -11
  89. data/vendor/assets/javascripts/moment/sl.js +4 -3
  90. data/vendor/assets/javascripts/moment/sq.js +4 -3
  91. data/vendor/assets/javascripts/moment/sr-cyrl.js +4 -3
  92. data/vendor/assets/javascripts/moment/sr.js +4 -3
  93. data/vendor/assets/javascripts/moment/sv.js +4 -3
  94. data/vendor/assets/javascripts/moment/sw.js +58 -0
  95. data/vendor/assets/javascripts/moment/ta.js +38 -3
  96. data/vendor/assets/javascripts/moment/te.js +88 -0
  97. data/vendor/assets/javascripts/moment/th.js +4 -3
  98. data/vendor/assets/javascripts/moment/tl-ph.js +4 -3
  99. data/vendor/assets/javascripts/moment/tlh.js +119 -0
  100. data/vendor/assets/javascripts/moment/tr.js +4 -3
  101. data/vendor/assets/javascripts/moment/tzl.js +26 -23
  102. data/vendor/assets/javascripts/moment/tzm-latn.js +4 -3
  103. data/vendor/assets/javascripts/moment/tzm.js +4 -3
  104. data/vendor/assets/javascripts/moment/uk.js +10 -16
  105. data/vendor/assets/javascripts/moment/uz.js +5 -4
  106. data/vendor/assets/javascripts/moment/vi.js +4 -3
  107. data/vendor/assets/javascripts/moment/zh-cn.js +4 -3
  108. data/vendor/assets/javascripts/moment/zh-tw.js +4 -3
  109. metadata +13 -2
@@ -3,8 +3,9 @@
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
- (function (global, factory) {
7
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
6
+ ;(function (global, factory) {
7
+ typeof exports === 'object' && typeof module !== 'undefined'
8
+ && typeof require === 'function' ? factory(require('../moment')) :
8
9
  typeof define === 'function' && define.amd ? define(['moment'], factory) :
9
10
  factory(global.moment)
10
11
  }(this, function (moment) { 'use strict';
@@ -79,4 +80,4 @@
79
80
 
80
81
  return id;
81
82
 
82
- }));
83
+ }));
@@ -2,8 +2,9 @@
2
2
  //! locale : icelandic (is)
3
3
  //! author : Hinrik Örn Sigurðsson : https://github.com/hinrik
4
4
 
5
- (function (global, factory) {
6
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
5
+ ;(function (global, factory) {
6
+ typeof exports === 'object' && typeof module !== 'undefined'
7
+ && typeof require === 'function' ? factory(require('../moment')) :
7
8
  typeof define === 'function' && define.amd ? define(['moment'], factory) :
8
9
  factory(global.moment)
9
10
  }(this, function (moment) { 'use strict';
@@ -123,4 +124,4 @@
123
124
 
124
125
  return is;
125
126
 
126
- }));
127
+ }));
@@ -3,8 +3,9 @@
3
3
  //! author : Lorenzo : https://github.com/aliem
4
4
  //! author: Mattia Larentis: https://github.com/nostalgiaz
5
5
 
6
- (function (global, factory) {
7
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
6
+ ;(function (global, factory) {
7
+ typeof exports === 'object' && typeof module !== 'undefined'
8
+ && typeof require === 'function' ? factory(require('../moment')) :
8
9
  typeof define === 'function' && define.amd ? define(['moment'], factory) :
9
10
  factory(global.moment)
10
11
  }(this, function (moment) { 'use strict';
@@ -15,7 +16,7 @@
15
16
  monthsShort : 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
16
17
  weekdays : 'Domenica_Lunedì_Martedì_Mercoledì_Giovedì_Venerdì_Sabato'.split('_'),
17
18
  weekdaysShort : 'Dom_Lun_Mar_Mer_Gio_Ven_Sab'.split('_'),
18
- weekdaysMin : 'D_L_Ma_Me_G_V_S'.split('_'),
19
+ weekdaysMin : 'Do_Lu_Ma_Me_Gi_Ve_Sa'.split('_'),
19
20
  longDateFormat : {
20
21
  LT : 'HH:mm',
21
22
  LTS : 'HH:mm:ss',
@@ -66,4 +67,4 @@
66
67
 
67
68
  return it;
68
69
 
69
- }));
70
+ }));
@@ -2,8 +2,9 @@
2
2
  //! locale : japanese (ja)
3
3
  //! author : LI Long : https://github.com/baryon
4
4
 
5
- (function (global, factory) {
6
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
5
+ ;(function (global, factory) {
6
+ typeof exports === 'object' && typeof module !== 'undefined'
7
+ && typeof require === 'function' ? factory(require('../moment')) :
7
8
  typeof define === 'function' && define.amd ? define(['moment'], factory) :
8
9
  factory(global.moment)
9
10
  }(this, function (moment) { 'use strict';
@@ -61,4 +62,4 @@
61
62
 
62
63
  return ja;
63
64
 
64
- }));
65
+ }));
@@ -3,8 +3,9 @@
3
3
  //! author : Rony Lantip : https://github.com/lantip
4
4
  //! reference: http://jv.wikipedia.org/wiki/Basa_Jawa
5
5
 
6
- (function (global, factory) {
7
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
6
+ ;(function (global, factory) {
7
+ typeof exports === 'object' && typeof module !== 'undefined'
8
+ && typeof require === 'function' ? factory(require('../moment')) :
8
9
  typeof define === 'function' && define.amd ? define(['moment'], factory) :
9
10
  factory(global.moment)
10
11
  }(this, function (moment) { 'use strict';
@@ -79,4 +80,4 @@
79
80
 
80
81
  return jv;
81
82
 
82
- }));
83
+ }));
@@ -2,38 +2,25 @@
2
2
  //! locale : Georgian (ka)
3
3
  //! author : Irakli Janiashvili : https://github.com/irakli-janiashvili
4
4
 
5
- (function (global, factory) {
6
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
5
+ ;(function (global, factory) {
6
+ typeof exports === 'object' && typeof module !== 'undefined'
7
+ && typeof require === 'function' ? factory(require('../moment')) :
7
8
  typeof define === 'function' && define.amd ? define(['moment'], factory) :
8
9
  factory(global.moment)
9
10
  }(this, function (moment) { 'use strict';
10
11
 
11
12
 
12
- function monthsCaseReplace(m, format) {
13
- var months = {
14
- 'nominative': 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split('_'),
15
- 'accusative': 'იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს'.split('_')
16
- },
17
- nounCase = (/D[oD] *MMMM?/).test(format) ?
18
- 'accusative' :
19
- 'nominative';
20
- return months[nounCase][m.month()];
21
- }
22
- function weekdaysCaseReplace(m, format) {
23
- var weekdays = {
24
- 'nominative': 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split('_'),
25
- 'accusative': 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split('_')
26
- },
27
- nounCase = (/(წინა|შემდეგ)/).test(format) ?
28
- 'accusative' :
29
- 'nominative';
30
- return weekdays[nounCase][m.day()];
31
- }
32
-
33
13
  var ka = moment.defineLocale('ka', {
34
- months : monthsCaseReplace,
14
+ months : {
15
+ standalone: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split('_'),
16
+ format: 'იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს'.split('_')
17
+ },
35
18
  monthsShort : 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'),
36
- weekdays : weekdaysCaseReplace,
19
+ weekdays : {
20
+ standalone: 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split('_'),
21
+ format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split('_'),
22
+ isFormat: /(წინა|შემდეგ)/
23
+ },
37
24
  weekdaysShort : 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'),
38
25
  weekdaysMin : 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'),
39
26
  longDateFormat : {
@@ -99,4 +86,4 @@
99
86
 
100
87
  return ka;
101
88
 
102
- }));
89
+ }));
@@ -0,0 +1,87 @@
1
+ //! moment.js locale configuration
2
+ //! locale : kazakh (kk)
3
+ //! authors : Nurlan Rakhimzhanov : https://github.com/nurlan
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
+ 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
+ };
35
+
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
+ m : 'бір минут',
63
+ mm : '%d минут',
64
+ h : 'бір сағат',
65
+ hh : '%d сағат',
66
+ d : 'бір күн',
67
+ dd : '%d күн',
68
+ M : 'бір ай',
69
+ MM : '%d ай',
70
+ y : 'бір жыл',
71
+ yy : '%d жыл'
72
+ },
73
+ ordinalParse: /\d{1,2}-(ші|шы)/,
74
+ ordinal : function (number) {
75
+ var a = number % 10,
76
+ b = number >= 100 ? 100 : null;
77
+ return number + (suffixes[number] || suffixes[a] || suffixes[b]);
78
+ },
79
+ week : {
80
+ dow : 1, // Monday is the first day of the week.
81
+ doy : 7 // The week that contains Jan 1st is the first week of the year.
82
+ }
83
+ });
84
+
85
+ return kk;
86
+
87
+ }));
@@ -2,8 +2,9 @@
2
2
  //! locale : khmer (km)
3
3
  //! author : Kruy Vanna : https://github.com/kruyvanna
4
4
 
5
- (function (global, factory) {
6
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
5
+ ;(function (global, factory) {
6
+ typeof exports === 'object' && typeof module !== 'undefined'
7
+ && typeof require === 'function' ? factory(require('../moment')) :
7
8
  typeof define === 'function' && define.amd ? define(['moment'], factory) :
8
9
  factory(global.moment)
9
10
  }(this, function (moment) { 'use strict';
@@ -24,7 +25,7 @@
24
25
  LLLL: 'dddd, D MMMM YYYY HH:mm'
25
26
  },
26
27
  calendar: {
27
- sameDay: '[ថ្ងៃនៈ ម៉ោង] LT',
28
+ sameDay: '[ថ្ងៃនេះ ម៉ោង] LT',
28
29
  nextDay: '[ស្អែក ម៉ោង] LT',
29
30
  nextWeek: 'dddd [ម៉ោង] LT',
30
31
  lastDay: '[ម្សិលមិញ ម៉ោង] LT',
@@ -54,4 +55,4 @@
54
55
 
55
56
  return km;
56
57
 
57
- }));
58
+ }));
@@ -6,8 +6,9 @@
6
6
  //! - Kyungwook, Park : https://github.com/kyungw00k
7
7
  //! - Jeeeyul Lee <jeeeyul@gmail.com>
8
8
 
9
- (function (global, factory) {
10
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
9
+ ;(function (global, factory) {
10
+ typeof exports === 'object' && typeof module !== 'undefined'
11
+ && typeof require === 'function' ? factory(require('../moment')) :
11
12
  typeof define === 'function' && define.amd ? define(['moment'], factory) :
12
13
  factory(global.moment)
13
14
  }(this, function (moment) { 'use strict';
@@ -64,4 +65,4 @@
64
65
 
65
66
  return ko;
66
67
 
67
- }));
68
+ }));
@@ -2,8 +2,9 @@
2
2
  //! locale : Luxembourgish (lb)
3
3
  //! author : mweimerskirch : https://github.com/mweimerskirch, David Raison : https://github.com/kwisatz
4
4
 
5
- (function (global, factory) {
6
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
5
+ ;(function (global, factory) {
6
+ typeof exports === 'object' && typeof module !== 'undefined'
7
+ && typeof require === 'function' ? factory(require('../moment')) :
7
8
  typeof define === 'function' && define.amd ? define(['moment'], factory) :
8
9
  factory(global.moment)
9
10
  }(this, function (moment) { 'use strict';
@@ -130,4 +131,4 @@
130
131
 
131
132
  return lb;
132
133
 
133
- }));
134
+ }));
@@ -0,0 +1,69 @@
1
+ //! moment.js locale configuration
2
+ //! locale : lao (lo)
3
+ //! author : Ryan Hart : https://github.com/ryanhart2
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
+ var lo = moment.defineLocale('lo', {
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
+ meridiemParse: /ຕອນເຊົ້າ|ຕອນແລງ/,
28
+ isPM: function (input) {
29
+ return input === 'ຕອນແລງ';
30
+ },
31
+ meridiem : function (hour, minute, isLower) {
32
+ if (hour < 12) {
33
+ return 'ຕອນເຊົ້າ';
34
+ } else {
35
+ return 'ຕອນແລງ';
36
+ }
37
+ },
38
+ calendar : {
39
+ sameDay : '[ມື້ນີ້ເວລາ] LT',
40
+ nextDay : '[ມື້ອື່ນເວລາ] LT',
41
+ nextWeek : '[ວັນ]dddd[ໜ້າເວລາ] LT',
42
+ lastDay : '[ມື້ວານນີ້ເວລາ] LT',
43
+ lastWeek : '[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT',
44
+ sameElse : 'L'
45
+ },
46
+ relativeTime : {
47
+ future : 'ອີກ %s',
48
+ past : '%sຜ່ານມາ',
49
+ s : 'ບໍ່ເທົ່າໃດວິນາທີ',
50
+ m : '1 ນາທີ',
51
+ mm : '%d ນາທີ',
52
+ h : '1 ຊົ່ວໂມງ',
53
+ hh : '%d ຊົ່ວໂມງ',
54
+ d : '1 ມື້',
55
+ dd : '%d ມື້',
56
+ M : '1 ເດືອນ',
57
+ MM : '%d ເດືອນ',
58
+ y : '1 ປີ',
59
+ yy : '%d ປີ'
60
+ },
61
+ ordinalParse: /(ທີ່)\d{1,2}/,
62
+ ordinal : function (number) {
63
+ return 'ທີ່' + number;
64
+ }
65
+ });
66
+
67
+ return lo;
68
+
69
+ }));
@@ -2,8 +2,9 @@
2
2
  //! locale : Lithuanian (lt)
3
3
  //! author : Mindaugas Mozūras : https://github.com/mmozuras
4
4
 
5
- (function (global, factory) {
6
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
5
+ ;(function (global, factory) {
6
+ typeof exports === 'object' && typeof module !== 'undefined'
7
+ && typeof require === 'function' ? factory(require('../moment')) :
7
8
  typeof define === 'function' && define.amd ? define(['moment'], factory) :
8
9
  factory(global.moment)
9
10
  }(this, function (moment) { 'use strict';
@@ -20,8 +21,7 @@
20
21
  'MM': 'mėnesiai_mėnesių_mėnesius',
21
22
  'y' : 'metai_metų_metus',
22
23
  'yy': 'metai_metų_metus'
23
- },
24
- weekDays = 'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split('_');
24
+ };
25
25
  function translateSeconds(number, withoutSuffix, key, isFuture) {
26
26
  if (withoutSuffix) {
27
27
  return 'kelios sekundės';
@@ -29,16 +29,6 @@
29
29
  return isFuture ? 'kelių sekundžių' : 'kelias sekundes';
30
30
  }
31
31
  }
32
- function monthsCaseReplace(m, format) {
33
- var months = {
34
- 'nominative': 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split('_'),
35
- 'accusative': 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split('_')
36
- },
37
- nounCase = (/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/).test(format) ?
38
- 'accusative' :
39
- 'nominative';
40
- return months[nounCase][m.month()];
41
- }
42
32
  function translateSingular(number, withoutSuffix, key, isFuture) {
43
33
  return withoutSuffix ? forms(key)[0] : (isFuture ? forms(key)[1] : forms(key)[2]);
44
34
  }
@@ -62,16 +52,17 @@
62
52
  }
63
53
  }
64
54
  }
65
- function relativeWeekDay(moment, format) {
66
- var nominative = format.indexOf('dddd HH:mm') === -1,
67
- weekDay = weekDays[moment.day()];
68
- return nominative ? weekDay : weekDay.substring(0, weekDay.length - 2) + 'į';
69
- }
70
-
71
55
  var lt = moment.defineLocale('lt', {
72
- months : monthsCaseReplace,
56
+ months : {
57
+ format: 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split('_'),
58
+ standalone: 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split('_')
59
+ },
73
60
  monthsShort : 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'),
74
- weekdays : relativeWeekDay,
61
+ weekdays : {
62
+ format: 'sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį'.split('_'),
63
+ standalone: 'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split('_'),
64
+ isFormat: /dddd HH:mm/
65
+ },
75
66
  weekdaysShort : 'Sek_Pir_Ant_Tre_Ket_Pen_Šeš'.split('_'),
76
67
  weekdaysMin : 'S_P_A_T_K_Pn_Š'.split('_'),
77
68
  longDateFormat : {
@@ -121,4 +112,4 @@
121
112
 
122
113
  return lt;
123
114
 
124
- }));
115
+ }));
@@ -3,8 +3,9 @@
3
3
  //! author : Kristaps Karlsons : https://github.com/skakri
4
4
  //! author : Jānis Elmeris : https://github.com/JanisE
5
5
 
6
- (function (global, factory) {
7
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
6
+ ;(function (global, factory) {
7
+ typeof exports === 'object' && typeof module !== 'undefined'
8
+ && typeof require === 'function' ? factory(require('../moment')) :
8
9
  typeof define === 'function' && define.amd ? define(['moment'], factory) :
9
10
  factory(global.moment)
10
11
  }(this, function (moment) { 'use strict';
@@ -92,4 +93,4 @@
92
93
 
93
94
  return lv;
94
95
 
95
- }));
96
+ }));