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
@@ -2,8 +2,9 @@
2
2
  //! locale : afrikaans (af)
3
3
  //! author : Werner Mollentze : https://github.com/wernerm
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';
@@ -69,4 +70,4 @@
69
70
 
70
71
  return af;
71
72
 
72
- }));
73
+ }));
@@ -3,8 +3,9 @@
3
3
  //! author : ElFadili Yassine : https://github.com/ElFadiliY
4
4
  //! author : Abdel Said : https://github.com/abdelsaid
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';
@@ -55,4 +56,4 @@
55
56
 
56
57
  return ar_ma;
57
58
 
58
- }));
59
+ }));
@@ -2,8 +2,9 @@
2
2
  //! locale : Arabic Saudi Arabia (ar-sa)
3
3
  //! author : Suhail Alkowaileet : https://github.com/xsoh
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';
@@ -99,4 +100,4 @@
99
100
 
100
101
  return ar_sa;
101
102
 
102
- }));
103
+ }));
@@ -1,8 +1,9 @@
1
1
  //! moment.js locale configuration
2
2
  //! locale : Tunisian Arabic (ar-tn)
3
3
 
4
- (function (global, factory) {
5
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
4
+ ;(function (global, factory) {
5
+ typeof exports === 'object' && typeof module !== 'undefined'
6
+ && typeof require === 'function' ? factory(require('../moment')) :
6
7
  typeof define === 'function' && define.amd ? define(['moment'], factory) :
7
8
  factory(global.moment)
8
9
  }(this, function (moment) { 'use strict';
@@ -53,4 +54,4 @@
53
54
 
54
55
  return ar_tn;
55
56
 
56
- }));
57
+ }));
@@ -4,8 +4,9 @@
4
4
  //! Changes in months, weekdays: Ahmed Elkhatib
5
5
  //! Native plural forms: forabi https://github.com/forabi
6
6
 
7
- (function (global, factory) {
8
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
7
+ ;(function (global, factory) {
8
+ typeof exports === 'object' && typeof module !== 'undefined'
9
+ && typeof require === 'function' ? factory(require('../moment')) :
9
10
  typeof define === 'function' && define.amd ? define(['moment'], factory) :
10
11
  factory(global.moment)
11
12
  }(this, function (moment) { 'use strict';
@@ -132,4 +133,4 @@
132
133
 
133
134
  return ar;
134
135
 
135
- }));
136
+ }));
@@ -2,8 +2,9 @@
2
2
  //! locale : azerbaijani (az)
3
3
  //! author : topchiyev : https://github.com/topchiyev
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';
@@ -100,4 +101,4 @@
100
101
 
101
102
  return az;
102
103
 
103
- }));
104
+ }));
@@ -4,8 +4,9 @@
4
4
  //! author: Praleska: http://praleska.pro/
5
5
  //! Author : Menelion Elensúle : https://github.com/Oire
6
6
 
7
- (function (global, factory) {
8
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
7
+ ;(function (global, factory) {
8
+ typeof exports === 'object' && typeof module !== 'undefined'
9
+ && typeof require === 'function' ? factory(require('../moment')) :
9
10
  typeof define === 'function' && define.amd ? define(['moment'], factory) :
10
11
  factory(global.moment)
11
12
  }(this, function (moment) { 'use strict';
@@ -33,31 +34,18 @@
33
34
  return number + ' ' + plural(format[key], +number);
34
35
  }
35
36
  }
36
- function monthsCaseReplace(m, format) {
37
- var months = {
38
- 'nominative': 'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split('_'),
39
- 'accusative': 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split('_')
40
- },
41
- nounCase = (/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/).test(format) ?
42
- 'accusative' :
43
- 'nominative';
44
- return months[nounCase][m.month()];
45
- }
46
- function weekdaysCaseReplace(m, format) {
47
- var weekdays = {
48
- 'nominative': 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split('_'),
49
- 'accusative': 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split('_')
50
- },
51
- nounCase = (/\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/).test(format) ?
52
- 'accusative' :
53
- 'nominative';
54
- return weekdays[nounCase][m.day()];
55
- }
56
37
 
57
38
  var be = moment.defineLocale('be', {
58
- months : monthsCaseReplace,
39
+ months : {
40
+ format: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split('_'),
41
+ standalone: 'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split('_')
42
+ },
59
43
  monthsShort : 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split('_'),
60
- weekdays : weekdaysCaseReplace,
44
+ weekdays : {
45
+ format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split('_'),
46
+ standalone: 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split('_'),
47
+ isFormat: /\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/
48
+ },
61
49
  weekdaysShort : 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
62
50
  weekdaysMin : 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
63
51
  longDateFormat : {
@@ -143,4 +131,4 @@
143
131
 
144
132
  return be;
145
133
 
146
- }));
134
+ }));
@@ -2,8 +2,9 @@
2
2
  //! locale : bulgarian (bg)
3
3
  //! author : Krasen Borisov : https://github.com/kraz
4
4
 
5
- (function (global, factory) {
6
- typeof exports === 'object' && typeof module !== 'undefined' ? 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';
@@ -86,4 +87,4 @@
86
87
 
87
88
  return bg;
88
89
 
89
- }));
90
+ }));
@@ -2,8 +2,9 @@
2
2
  //! locale : Bengali (bn)
3
3
  //! author : Kaushik Gandhi : https://github.com/kaushikgandhi
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';
@@ -37,8 +38,8 @@
37
38
  var bn = moment.defineLocale('bn', {
38
39
  months : 'জানুয়ারী_ফেবুয়ারী_মার্চ_এপ্রিল_মে_জুন_জুলাই_অগাস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split('_'),
39
40
  monthsShort : 'জানু_ফেব_মার্চ_এপর_মে_জুন_জুল_অগ_সেপ্ট_অক্টো_নভ_ডিসেম্'.split('_'),
40
- weekdays : 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পত্তিবার_শুক্রুবার_শনিবার'.split('_'),
41
- weekdaysShort : 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পত্তি_শুক্রু_শনি'.split('_'),
41
+ weekdays : 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পত্তিবার_শুক্রবার_শনিবার'.split('_'),
42
+ weekdaysShort : 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পত্তি_শুক্র_শনি'.split('_'),
42
43
  weekdaysMin : 'রব_সম_মঙ্গ_বু_ব্রিহ_শু_শনি'.split('_'),
43
44
  longDateFormat : {
44
45
  LT : 'A h:mm সময়',
@@ -59,7 +60,7 @@
59
60
  relativeTime : {
60
61
  future : '%s পরে',
61
62
  past : '%s আগে',
62
- s : 'কএক সেকেন্ড',
63
+ s : 'কয়েক সেকেন্ড',
63
64
  m : 'এক মিনিট',
64
65
  mm : '%d মিনিট',
65
66
  h : 'এক ঘন্টা',
@@ -81,9 +82,9 @@
81
82
  return symbolMap[match];
82
83
  });
83
84
  },
84
- meridiemParse: /রাত|সকাল|দুপুর|বিকেল|রাত/,
85
+ meridiemParse: /রাত|সকাল|দুপুর|বিকাল|রাত/,
85
86
  isPM: function (input) {
86
- return /^(দুপুর|বিকেল|রাত)$/.test(input);
87
+ return /^(দুপুর|বিকাল|রাত)$/.test(input);
87
88
  },
88
89
  //Bengali is a vast language its spoken
89
90
  //in different forms in various parts of the world.
@@ -96,7 +97,7 @@
96
97
  } else if (hour < 17) {
97
98
  return 'দুপুর';
98
99
  } else if (hour < 20) {
99
- return 'বিকেল';
100
+ return 'বিকাল';
100
101
  } else {
101
102
  return 'রাত';
102
103
  }
@@ -109,4 +110,4 @@
109
110
 
110
111
  return bn;
111
112
 
112
- }));
113
+ }));
@@ -2,8 +2,9 @@
2
2
  //! locale : tibetan (bo)
3
3
  //! author : Thupten N. Chakrishar : https://github.com/vajradog
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';
@@ -106,4 +107,4 @@
106
107
 
107
108
  return bo;
108
109
 
109
- }));
110
+ }));
@@ -2,8 +2,9 @@
2
2
  //! locale : breton (br)
3
3
  //! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou
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';
@@ -103,4 +104,4 @@
103
104
 
104
105
  return br;
105
106
 
106
- }));
107
+ }));
@@ -3,8 +3,9 @@
3
3
  //! author : Nedim Cholich : https://github.com/frontyard
4
4
  //! based on (hr) translation by Bojan Marković
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';
@@ -137,4 +138,4 @@
137
138
 
138
139
  return bs;
139
140
 
140
- }));
141
+ }));
@@ -2,8 +2,9 @@
2
2
  //! locale : catalan (ca)
3
3
  //! author : Juan G. Hurtado : https://github.com/juanghurtado
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';
@@ -17,7 +18,7 @@
17
18
  weekdaysMin : 'Dg_Dl_Dt_Dc_Dj_Dv_Ds'.split('_'),
18
19
  longDateFormat : {
19
20
  LT : 'H:mm',
20
- LTS : 'LT:ss',
21
+ LTS : 'H:mm:ss',
21
22
  L : 'DD/MM/YYYY',
22
23
  LL : 'D MMMM YYYY',
23
24
  LLL : 'D MMMM YYYY H:mm',
@@ -75,4 +76,4 @@
75
76
 
76
77
  return ca;
77
78
 
78
- }));
79
+ }));
@@ -2,8 +2,9 @@
2
2
  //! locale : czech (cs)
3
3
  //! author : petrbela : https://github.com/petrbela
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';
@@ -78,6 +79,20 @@
78
79
  }
79
80
  return _monthsParse;
80
81
  }(months, monthsShort)),
82
+ shortMonthsParse : (function (monthsShort) {
83
+ var i, _shortMonthsParse = [];
84
+ for (i = 0; i < 12; i++) {
85
+ _shortMonthsParse[i] = new RegExp('^' + monthsShort[i] + '$', 'i');
86
+ }
87
+ return _shortMonthsParse;
88
+ }(monthsShort)),
89
+ longMonthsParse : (function (months) {
90
+ var i, _longMonthsParse = [];
91
+ for (i = 0; i < 12; i++) {
92
+ _longMonthsParse[i] = new RegExp('^' + months[i] + '$', 'i');
93
+ }
94
+ return _longMonthsParse;
95
+ }(months)),
81
96
  weekdays : 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'),
82
97
  weekdaysShort : 'ne_po_út_st_čt_pá_so'.split('_'),
83
98
  weekdaysMin : 'ne_po_út_st_čt_pá_so'.split('_'),
@@ -153,4 +168,4 @@
153
168
 
154
169
  return cs;
155
170
 
156
- }));
171
+ }));
@@ -2,8 +2,9 @@
2
2
  //! locale : chuvash (cv)
3
3
  //! author : Anatoly Mironov : https://github.com/mirontoli
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';
@@ -59,4 +60,4 @@
59
60
 
60
61
  return cv;
61
62
 
62
- }));
63
+ }));
@@ -2,8 +2,9 @@
2
2
  //! locale : Welsh (cy)
3
3
  //! author : Robert Allen
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';
@@ -75,4 +76,4 @@
75
76
 
76
77
  return cy;
77
78
 
78
- }));
79
+ }));
@@ -2,8 +2,9 @@
2
2
  //! locale : danish (da)
3
3
  //! author : Ulrik Nielsen : https://github.com/mrbase
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';
@@ -56,4 +57,4 @@
56
57
 
57
58
  return da;
58
59
 
59
- }));
60
+ }));
@@ -3,9 +3,11 @@
3
3
  //! author : lluchs : https://github.com/lluchs
4
4
  //! author: Menelion Elensúle: https://github.com/Oire
5
5
  //! author : Martin Groller : https://github.com/MadMG
6
+ //! author : Mikolaj Dadela : https://github.com/mik01aj
6
7
 
7
- (function (global, factory) {
8
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
8
+ ;(function (global, factory) {
9
+ typeof exports === 'object' && typeof module !== 'undefined'
10
+ && typeof require === 'function' ? factory(require('../moment')) :
9
11
  typeof define === 'function' && define.amd ? define(['moment'], factory) :
10
12
  factory(global.moment)
11
13
  }(this, function (moment) { 'use strict';
@@ -40,11 +42,11 @@
40
42
  LLLL : 'dddd, D. MMMM YYYY HH:mm'
41
43
  },
42
44
  calendar : {
43
- sameDay: '[Heute um] LT [Uhr]',
45
+ sameDay: '[heute um] LT [Uhr]',
44
46
  sameElse: 'L',
45
- nextDay: '[Morgen um] LT [Uhr]',
47
+ nextDay: '[morgen um] LT [Uhr]',
46
48
  nextWeek: 'dddd [um] LT [Uhr]',
47
- lastDay: '[Gestern um] LT [Uhr]',
49
+ lastDay: '[gestern um] LT [Uhr]',
48
50
  lastWeek: '[letzten] dddd [um] LT [Uhr]'
49
51
  },
50
52
  relativeTime : {
@@ -72,4 +74,4 @@
72
74
 
73
75
  return de_at;
74
76
 
75
- }));
77
+ }));