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 : breton (br)
2
+ //! locale : Breton [br]
3
3
  //! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou
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
 
@@ -20,14 +20,14 @@
20
20
  }
21
21
  function specialMutationForYears(number) {
22
22
  switch (lastNumber(number)) {
23
- case 1:
24
- case 3:
25
- case 4:
26
- case 5:
27
- case 9:
28
- return number + ' bloaz';
29
- default:
30
- return number + ' vloaz';
23
+ case 1:
24
+ case 3:
25
+ case 4:
26
+ case 5:
27
+ case 9:
28
+ return number + ' bloaz';
29
+ default:
30
+ return number + ' vloaz';
31
31
  }
32
32
  }
33
33
  function lastNumber(number) {
@@ -60,6 +60,7 @@
60
60
  weekdays : 'Sul_Lun_Meurzh_Merc\'her_Yaou_Gwener_Sadorn'.split('_'),
61
61
  weekdaysShort : 'Sul_Lun_Meu_Mer_Yao_Gwe_Sad'.split('_'),
62
62
  weekdaysMin : 'Su_Lu_Me_Mer_Ya_Gw_Sa'.split('_'),
63
+ weekdaysParseExact : true,
63
64
  longDateFormat : {
64
65
  LT : 'h[e]mm A',
65
66
  LTS : 'h[e]mm:ss A',
@@ -1,12 +1,12 @@
1
1
  //! moment.js locale configuration
2
- //! locale : bosnian (bs)
2
+ //! locale : Bosnian [bs]
3
3
  //! author : Nedim Cholich : https://github.com/frontyard
4
4
  //! based on (hr) translation by Bojan Marković
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
 
@@ -14,66 +14,68 @@
14
14
  function translate(number, withoutSuffix, key) {
15
15
  var result = number + ' ';
16
16
  switch (key) {
17
- case 'm':
18
- return withoutSuffix ? 'jedna minuta' : 'jedne minute';
19
- case 'mm':
20
- if (number === 1) {
21
- result += 'minuta';
22
- } else if (number === 2 || number === 3 || number === 4) {
23
- result += 'minute';
24
- } else {
25
- result += 'minuta';
26
- }
27
- return result;
28
- case 'h':
29
- return withoutSuffix ? 'jedan sat' : 'jednog sata';
30
- case 'hh':
31
- if (number === 1) {
32
- result += 'sat';
33
- } else if (number === 2 || number === 3 || number === 4) {
34
- result += 'sata';
35
- } else {
36
- result += 'sati';
37
- }
38
- return result;
39
- case 'dd':
40
- if (number === 1) {
41
- result += 'dan';
42
- } else {
43
- result += 'dana';
44
- }
45
- return result;
46
- case 'MM':
47
- if (number === 1) {
48
- result += 'mjesec';
49
- } else if (number === 2 || number === 3 || number === 4) {
50
- result += 'mjeseca';
51
- } else {
52
- result += 'mjeseci';
53
- }
54
- return result;
55
- case 'yy':
56
- if (number === 1) {
57
- result += 'godina';
58
- } else if (number === 2 || number === 3 || number === 4) {
59
- result += 'godine';
60
- } else {
61
- result += 'godina';
62
- }
63
- return result;
17
+ case 'm':
18
+ return withoutSuffix ? 'jedna minuta' : 'jedne minute';
19
+ case 'mm':
20
+ if (number === 1) {
21
+ result += 'minuta';
22
+ } else if (number === 2 || number === 3 || number === 4) {
23
+ result += 'minute';
24
+ } else {
25
+ result += 'minuta';
26
+ }
27
+ return result;
28
+ case 'h':
29
+ return withoutSuffix ? 'jedan sat' : 'jednog sata';
30
+ case 'hh':
31
+ if (number === 1) {
32
+ result += 'sat';
33
+ } else if (number === 2 || number === 3 || number === 4) {
34
+ result += 'sata';
35
+ } else {
36
+ result += 'sati';
37
+ }
38
+ return result;
39
+ case 'dd':
40
+ if (number === 1) {
41
+ result += 'dan';
42
+ } else {
43
+ result += 'dana';
44
+ }
45
+ return result;
46
+ case 'MM':
47
+ if (number === 1) {
48
+ result += 'mjesec';
49
+ } else if (number === 2 || number === 3 || number === 4) {
50
+ result += 'mjeseca';
51
+ } else {
52
+ result += 'mjeseci';
53
+ }
54
+ return result;
55
+ case 'yy':
56
+ if (number === 1) {
57
+ result += 'godina';
58
+ } else if (number === 2 || number === 3 || number === 4) {
59
+ result += 'godine';
60
+ } else {
61
+ result += 'godina';
62
+ }
63
+ return result;
64
64
  }
65
65
  }
66
66
 
67
67
  var bs = moment.defineLocale('bs', {
68
68
  months : 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split('_'),
69
69
  monthsShort : 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split('_'),
70
+ monthsParseExact: true,
70
71
  weekdays : 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'),
71
72
  weekdaysShort : 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
72
73
  weekdaysMin : 'ne_po_ut_sr_če_pe_su'.split('_'),
74
+ weekdaysParseExact : true,
73
75
  longDateFormat : {
74
76
  LT : 'H:mm',
75
77
  LTS : 'H:mm:ss',
76
- L : 'DD. MM. YYYY',
78
+ L : 'DD.MM.YYYY',
77
79
  LL : 'D. MMMM YYYY',
78
80
  LLL : 'D. MMMM YYYY H:mm',
79
81
  LLLL : 'dddd, D. MMMM YYYY H:mm'
@@ -83,32 +85,32 @@
83
85
  nextDay : '[sutra u] LT',
84
86
  nextWeek : function () {
85
87
  switch (this.day()) {
86
- case 0:
87
- return '[u] [nedjelju] [u] LT';
88
- case 3:
89
- return '[u] [srijedu] [u] LT';
90
- case 6:
91
- return '[u] [subotu] [u] LT';
92
- case 1:
93
- case 2:
94
- case 4:
95
- case 5:
96
- return '[u] dddd [u] LT';
88
+ case 0:
89
+ return '[u] [nedjelju] [u] LT';
90
+ case 3:
91
+ return '[u] [srijedu] [u] LT';
92
+ case 6:
93
+ return '[u] [subotu] [u] LT';
94
+ case 1:
95
+ case 2:
96
+ case 4:
97
+ case 5:
98
+ return '[u] dddd [u] LT';
97
99
  }
98
100
  },
99
101
  lastDay : '[jučer u] LT',
100
102
  lastWeek : function () {
101
103
  switch (this.day()) {
102
- case 0:
103
- case 3:
104
- return '[prošlu] dddd [u] LT';
105
- case 6:
106
- return '[prošle] [subote] [u] LT';
107
- case 1:
108
- case 2:
109
- case 4:
110
- case 5:
111
- return '[prošli] dddd [u] LT';
104
+ case 0:
105
+ case 3:
106
+ return '[prošlu] dddd [u] LT';
107
+ case 6:
108
+ return '[prošle] [subote] [u] LT';
109
+ case 1:
110
+ case 2:
111
+ case 4:
112
+ case 5:
113
+ return '[prošli] dddd [u] LT';
112
114
  }
113
115
  },
114
116
  sameElse : 'L'
@@ -1,11 +1,11 @@
1
1
  //! moment.js locale configuration
2
- //! locale : catalan (ca)
2
+ //! locale : Catalan [ca]
3
3
  //! author : Juan G. Hurtado : https://github.com/juanghurtado
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
 
@@ -13,9 +13,11 @@
13
13
  var ca = moment.defineLocale('ca', {
14
14
  months : 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split('_'),
15
15
  monthsShort : 'gen._febr._mar._abr._mai._jun._jul._ag._set._oct._nov._des.'.split('_'),
16
+ monthsParseExact : true,
16
17
  weekdays : 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split('_'),
17
18
  weekdaysShort : 'dg._dl._dt._dc._dj._dv._ds.'.split('_'),
18
19
  weekdaysMin : 'Dg_Dl_Dt_Dc_Dj_Dv_Ds'.split('_'),
20
+ weekdaysParseExact : true,
19
21
  longDateFormat : {
20
22
  LT : 'H:mm',
21
23
  LTS : 'H:mm:ss',
@@ -1,11 +1,11 @@
1
1
  //! moment.js locale configuration
2
- //! locale : czech (cs)
2
+ //! locale : Czech [cs]
3
3
  //! author : petrbela : https://github.com/petrbela
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
 
@@ -18,53 +18,53 @@
18
18
  function translate(number, withoutSuffix, key, isFuture) {
19
19
  var result = number + ' ';
20
20
  switch (key) {
21
- case 's': // a few seconds / in a few seconds / a few seconds ago
22
- return (withoutSuffix || isFuture) ? 'pár sekund' : 'pár sekundami';
23
- case 'm': // a minute / in a minute / a minute ago
24
- return withoutSuffix ? 'minuta' : (isFuture ? 'minutu' : 'minutou');
25
- case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago
26
- if (withoutSuffix || isFuture) {
27
- return result + (plural(number) ? 'minuty' : 'minut');
28
- } else {
29
- return result + 'minutami';
30
- }
31
- break;
32
- case 'h': // an hour / in an hour / an hour ago
33
- return withoutSuffix ? 'hodina' : (isFuture ? 'hodinu' : 'hodinou');
34
- case 'hh': // 9 hours / in 9 hours / 9 hours ago
35
- if (withoutSuffix || isFuture) {
36
- return result + (plural(number) ? 'hodiny' : 'hodin');
37
- } else {
38
- return result + 'hodinami';
39
- }
40
- break;
41
- case 'd': // a day / in a day / a day ago
42
- return (withoutSuffix || isFuture) ? 'den' : 'dnem';
43
- case 'dd': // 9 days / in 9 days / 9 days ago
44
- if (withoutSuffix || isFuture) {
45
- return result + (plural(number) ? 'dny' : 'dní');
46
- } else {
47
- return result + 'dny';
48
- }
49
- break;
50
- case 'M': // a month / in a month / a month ago
51
- return (withoutSuffix || isFuture) ? 'měsíc' : 'měsícem';
52
- case 'MM': // 9 months / in 9 months / 9 months ago
53
- if (withoutSuffix || isFuture) {
54
- return result + (plural(number) ? 'měsíce' : 'měsíců');
55
- } else {
56
- return result + 'měsíci';
57
- }
58
- break;
59
- case 'y': // a year / in a year / a year ago
60
- return (withoutSuffix || isFuture) ? 'rok' : 'rokem';
61
- case 'yy': // 9 years / in 9 years / 9 years ago
62
- if (withoutSuffix || isFuture) {
63
- return result + (plural(number) ? 'roky' : 'let');
64
- } else {
65
- return result + 'lety';
66
- }
67
- break;
21
+ case 's': // a few seconds / in a few seconds / a few seconds ago
22
+ return (withoutSuffix || isFuture) ? 'pár sekund' : 'pár sekundami';
23
+ case 'm': // a minute / in a minute / a minute ago
24
+ return withoutSuffix ? 'minuta' : (isFuture ? 'minutu' : 'minutou');
25
+ case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago
26
+ if (withoutSuffix || isFuture) {
27
+ return result + (plural(number) ? 'minuty' : 'minut');
28
+ } else {
29
+ return result + 'minutami';
30
+ }
31
+ break;
32
+ case 'h': // an hour / in an hour / an hour ago
33
+ return withoutSuffix ? 'hodina' : (isFuture ? 'hodinu' : 'hodinou');
34
+ case 'hh': // 9 hours / in 9 hours / 9 hours ago
35
+ if (withoutSuffix || isFuture) {
36
+ return result + (plural(number) ? 'hodiny' : 'hodin');
37
+ } else {
38
+ return result + 'hodinami';
39
+ }
40
+ break;
41
+ case 'd': // a day / in a day / a day ago
42
+ return (withoutSuffix || isFuture) ? 'den' : 'dnem';
43
+ case 'dd': // 9 days / in 9 days / 9 days ago
44
+ if (withoutSuffix || isFuture) {
45
+ return result + (plural(number) ? 'dny' : 'dní');
46
+ } else {
47
+ return result + 'dny';
48
+ }
49
+ break;
50
+ case 'M': // a month / in a month / a month ago
51
+ return (withoutSuffix || isFuture) ? 'měsíc' : 'měsícem';
52
+ case 'MM': // 9 months / in 9 months / 9 months ago
53
+ if (withoutSuffix || isFuture) {
54
+ return result + (plural(number) ? 'měsíce' : 'měsíců');
55
+ } else {
56
+ return result + 'měsíci';
57
+ }
58
+ break;
59
+ case 'y': // a year / in a year / a year ago
60
+ return (withoutSuffix || isFuture) ? 'rok' : 'rokem';
61
+ case 'yy': // 9 years / in 9 years / 9 years ago
62
+ if (withoutSuffix || isFuture) {
63
+ return result + (plural(number) ? 'roky' : 'let');
64
+ } else {
65
+ return result + 'lety';
66
+ }
67
+ break;
68
68
  }
69
69
  }
70
70
 
@@ -102,43 +102,44 @@
102
102
  L : 'DD.MM.YYYY',
103
103
  LL : 'D. MMMM YYYY',
104
104
  LLL : 'D. MMMM YYYY H:mm',
105
- LLLL : 'dddd D. MMMM YYYY H:mm'
105
+ LLLL : 'dddd D. MMMM YYYY H:mm',
106
+ l : 'D. M. YYYY'
106
107
  },
107
108
  calendar : {
108
109
  sameDay: '[dnes v] LT',
109
110
  nextDay: '[zítra v] LT',
110
111
  nextWeek: function () {
111
112
  switch (this.day()) {
112
- case 0:
113
- return '[v neděli v] LT';
114
- case 1:
115
- case 2:
116
- return '[v] dddd [v] LT';
117
- case 3:
118
- return '[ve středu v] LT';
119
- case 4:
120
- return '[ve čtvrtek v] LT';
121
- case 5:
122
- return '[v pátek v] LT';
123
- case 6:
124
- return '[v sobotu v] LT';
113
+ case 0:
114
+ return '[v neděli v] LT';
115
+ case 1:
116
+ case 2:
117
+ return '[v] dddd [v] LT';
118
+ case 3:
119
+ return '[ve středu v] LT';
120
+ case 4:
121
+ return '[ve čtvrtek v] LT';
122
+ case 5:
123
+ return '[v pátek v] LT';
124
+ case 6:
125
+ return '[v sobotu v] LT';
125
126
  }
126
127
  },
127
128
  lastDay: '[včera v] LT',
128
129
  lastWeek: function () {
129
130
  switch (this.day()) {
130
- case 0:
131
- return '[minulou neděli v] LT';
132
- case 1:
133
- case 2:
134
- return '[minulé] dddd [v] LT';
135
- case 3:
136
- return '[minulou středu v] LT';
137
- case 4:
138
- case 5:
139
- return '[minulý] dddd [v] LT';
140
- case 6:
141
- return '[minulou sobotu v] LT';
131
+ case 0:
132
+ return '[minulou neděli v] LT';
133
+ case 1:
134
+ case 2:
135
+ return '[minulé] dddd [v] LT';
136
+ case 3:
137
+ return '[minulou středu v] LT';
138
+ case 4:
139
+ case 5:
140
+ return '[minulý] dddd [v] LT';
141
+ case 6:
142
+ return '[minulou sobotu v] LT';
142
143
  }
143
144
  },
144
145
  sameElse: 'L'
@@ -1,11 +1,11 @@
1
1
  //! moment.js locale configuration
2
- //! locale : chuvash (cv)
2
+ //! locale : Chuvash [cv]
3
3
  //! author : Anatoly Mironov : https://github.com/mirontoli
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