momentjs-rails 2.15.1 → 2.17.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/news.md +3 -0
  4. data/test/integration/navigation_test.rb +1 -1
  5. data/vendor/assets/javascripts/moment.js +3653 -3586
  6. data/vendor/assets/javascripts/moment/af.js +59 -59
  7. data/vendor/assets/javascripts/moment/ar-dz.js +59 -0
  8. data/vendor/assets/javascripts/moment/ar-ly.js +111 -107
  9. data/vendor/assets/javascripts/moment/ar-ma.js +46 -46
  10. data/vendor/assets/javascripts/moment/ar-sa.js +90 -89
  11. data/vendor/assets/javascripts/moment/ar-tn.js +46 -46
  12. data/vendor/assets/javascripts/moment/ar.js +125 -120
  13. data/vendor/assets/javascripts/moment/az.js +90 -90
  14. data/vendor/assets/javascripts/moment/be.js +112 -112
  15. data/vendor/assets/javascripts/moment/bg.js +74 -74
  16. data/vendor/assets/javascripts/moment/bn.js +104 -104
  17. data/vendor/assets/javascripts/moment/bo.js +104 -104
  18. data/vendor/assets/javascripts/moment/br.js +89 -89
  19. data/vendor/assets/javascripts/moment/bs.js +125 -125
  20. data/vendor/assets/javascripts/moment/ca.js +63 -63
  21. data/vendor/assets/javascripts/moment/cs.js +154 -154
  22. data/vendor/assets/javascripts/moment/cv.js +49 -49
  23. data/vendor/assets/javascripts/moment/cy.js +65 -65
  24. data/vendor/assets/javascripts/moment/da.js +47 -47
  25. data/vendor/assets/javascripts/moment/de-at.js +62 -62
  26. data/vendor/assets/javascripts/moment/de.js +62 -62
  27. data/vendor/assets/javascripts/moment/dv.js +84 -83
  28. data/vendor/assets/javascripts/moment/el.js +81 -81
  29. data/vendor/assets/javascripts/moment/en-au.js +54 -54
  30. data/vendor/assets/javascripts/moment/en-ca.js +50 -50
  31. data/vendor/assets/javascripts/moment/en-gb.js +54 -54
  32. data/vendor/assets/javascripts/moment/en-ie.js +54 -54
  33. data/vendor/assets/javascripts/moment/en-nz.js +54 -54
  34. data/vendor/assets/javascripts/moment/eo.js +57 -57
  35. data/vendor/assets/javascripts/moment/es-do.js +63 -63
  36. data/vendor/assets/javascripts/moment/es.js +63 -63
  37. data/vendor/assets/javascripts/moment/et.js +64 -64
  38. data/vendor/assets/javascripts/moment/eu.js +53 -53
  39. data/vendor/assets/javascripts/moment/fa.js +92 -91
  40. data/vendor/assets/javascripts/moment/fi.js +92 -92
  41. data/vendor/assets/javascripts/moment/fo.js +47 -47
  42. data/vendor/assets/javascripts/moment/fr-ca.js +47 -47
  43. data/vendor/assets/javascripts/moment/fr-ch.js +51 -51
  44. data/vendor/assets/javascripts/moment/fr.js +51 -51
  45. data/vendor/assets/javascripts/moment/fy.js +58 -58
  46. data/vendor/assets/javascripts/moment/gd.js +58 -58
  47. data/vendor/assets/javascripts/moment/gl.js +61 -61
  48. data/vendor/assets/javascripts/moment/he.js +78 -78
  49. data/vendor/assets/javascripts/moment/hi.js +109 -109
  50. data/vendor/assets/javascripts/moment/hr.js +128 -128
  51. data/vendor/assets/javascripts/moment/hu.js +92 -92
  52. data/vendor/assets/javascripts/moment/hy-am.js +79 -79
  53. data/vendor/assets/javascripts/moment/id.js +68 -68
  54. data/vendor/assets/javascripts/moment/is.js +106 -106
  55. data/vendor/assets/javascripts/moment/it.js +54 -54
  56. data/vendor/assets/javascripts/moment/ja.js +62 -62
  57. data/vendor/assets/javascripts/moment/jv.js +69 -69
  58. data/vendor/assets/javascripts/moment/ka.js +71 -71
  59. data/vendor/assets/javascripts/moment/kk.js +73 -73
  60. data/vendor/assets/javascripts/moment/km.js +45 -45
  61. data/vendor/assets/javascripts/moment/ko.js +51 -51
  62. data/vendor/assets/javascripts/moment/ky.js +73 -73
  63. data/vendor/assets/javascripts/moment/lb.js +114 -114
  64. data/vendor/assets/javascripts/moment/lo.js +56 -56
  65. data/vendor/assets/javascripts/moment/lt.js +100 -100
  66. data/vendor/assets/javascripts/moment/lv.js +81 -81
  67. data/vendor/assets/javascripts/moment/me.js +93 -93
  68. data/vendor/assets/javascripts/moment/mi.js +51 -51
  69. data/vendor/assets/javascripts/moment/mk.js +74 -74
  70. data/vendor/assets/javascripts/moment/ml.js +67 -67
  71. data/vendor/assets/javascripts/moment/mr.js +139 -139
  72. data/vendor/assets/javascripts/moment/ms-my.js +68 -68
  73. data/vendor/assets/javascripts/moment/ms.js +68 -68
  74. data/vendor/assets/javascripts/moment/my.js +79 -78
  75. data/vendor/assets/javascripts/moment/nb.js +49 -49
  76. data/vendor/assets/javascripts/moment/ne.js +108 -108
  77. data/vendor/assets/javascripts/moment/nl-be.js +86 -0
  78. data/vendor/assets/javascripts/moment/nl.js +67 -67
  79. data/vendor/assets/javascripts/moment/nn.js +47 -47
  80. data/vendor/assets/javascripts/moment/pa-in.js +109 -109
  81. data/vendor/assets/javascripts/moment/pl.js +88 -88
  82. data/vendor/assets/javascripts/moment/pt-br.js +47 -47
  83. data/vendor/assets/javascripts/moment/pt.js +51 -51
  84. data/vendor/assets/javascripts/moment/ro.js +59 -59
  85. data/vendor/assets/javascripts/moment/ru.js +153 -153
  86. data/vendor/assets/javascripts/moment/se.js +47 -47
  87. data/vendor/assets/javascripts/moment/si.js +57 -57
  88. data/vendor/assets/javascripts/moment/sk.js +132 -132
  89. data/vendor/assets/javascripts/moment/sl.js +144 -144
  90. data/vendor/assets/javascripts/moment/sq.js +55 -55
  91. data/vendor/assets/javascripts/moment/sr-cyrl.js +93 -93
  92. data/vendor/assets/javascripts/moment/sr.js +93 -93
  93. data/vendor/assets/javascripts/moment/ss.js +73 -73
  94. data/vendor/assets/javascripts/moment/sv.js +56 -56
  95. data/vendor/assets/javascripts/moment/sw.js +46 -46
  96. data/vendor/assets/javascripts/moment/ta.js +115 -114
  97. data/vendor/assets/javascripts/moment/te.js +75 -75
  98. data/vendor/assets/javascripts/moment/tet.js +68 -0
  99. data/vendor/assets/javascripts/moment/th.js +53 -53
  100. data/vendor/assets/javascripts/moment/tl-ph.js +49 -49
  101. data/vendor/assets/javascripts/moment/tlh.js +100 -100
  102. data/vendor/assets/javascripts/moment/tr.js +74 -74
  103. data/vendor/assets/javascripts/moment/tzl.js +75 -75
  104. data/vendor/assets/javascripts/moment/tzm-latn.js +45 -45
  105. data/vendor/assets/javascripts/moment/tzm.js +45 -45
  106. data/vendor/assets/javascripts/moment/uk.js +125 -125
  107. data/vendor/assets/javascripts/moment/uz.js +45 -45
  108. data/vendor/assets/javascripts/moment/vi.js +65 -65
  109. data/vendor/assets/javascripts/moment/x-pseudo.js +55 -55
  110. data/vendor/assets/javascripts/moment/yo.js +60 -0
  111. data/vendor/assets/javascripts/moment/zh-cn.js +107 -107
  112. data/vendor/assets/javascripts/moment/zh-hk.js +89 -89
  113. data/vendor/assets/javascripts/moment/zh-tw.js +89 -89
  114. metadata +6 -2
@@ -8,56 +8,56 @@
8
8
  && typeof require === 'function' ? factory(require('../moment')) :
9
9
  typeof define === 'function' && define.amd ? define(['../moment'], factory) :
10
10
  factory(global.moment)
11
- }(this, function (moment) { 'use strict';
11
+ }(this, (function (moment) { 'use strict';
12
12
 
13
13
 
14
- var nb = moment.defineLocale('nb', {
15
- months : 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
16
- monthsShort : 'jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.'.split('_'),
17
- monthsParseExact : true,
18
- weekdays : 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
19
- weekdaysShort : 'sø._ma._ti._on._to._fr._lø.'.split('_'),
20
- weekdaysMin : 'sø_ma_ti_on_to_fr_lø'.split('_'),
21
- weekdaysParseExact : true,
22
- longDateFormat : {
23
- LT : 'HH:mm',
24
- LTS : 'HH:mm:ss',
25
- L : 'DD.MM.YYYY',
26
- LL : 'D. MMMM YYYY',
27
- LLL : 'D. MMMM YYYY [kl.] HH:mm',
28
- LLLL : 'dddd D. MMMM YYYY [kl.] HH:mm'
29
- },
30
- calendar : {
31
- sameDay: '[i dag kl.] LT',
32
- nextDay: '[i morgen kl.] LT',
33
- nextWeek: 'dddd [kl.] LT',
34
- lastDay: '[i går kl.] LT',
35
- lastWeek: '[forrige] dddd [kl.] LT',
36
- sameElse: 'L'
37
- },
38
- relativeTime : {
39
- future : 'om %s',
40
- past : '%s siden',
41
- s : 'noen sekunder',
42
- m : 'ett minutt',
43
- mm : '%d minutter',
44
- h : 'en time',
45
- hh : '%d timer',
46
- d : 'en dag',
47
- dd : '%d dager',
48
- M : 'en måned',
49
- MM : '%d måneder',
50
- y : 'ett år',
51
- yy : '%d år'
52
- },
53
- ordinalParse: /\d{1,2}\./,
54
- ordinal : '%d.',
55
- week : {
56
- dow : 1, // Monday is the first day of the week.
57
- doy : 4 // The week that contains Jan 4th is the first week of the year.
58
- }
59
- });
14
+ var nb = moment.defineLocale('nb', {
15
+ months : 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
16
+ monthsShort : 'jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.'.split('_'),
17
+ monthsParseExact : true,
18
+ weekdays : 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
19
+ weekdaysShort : 'sø._ma._ti._on._to._fr._lø.'.split('_'),
20
+ weekdaysMin : 'sø_ma_ti_on_to_fr_lø'.split('_'),
21
+ weekdaysParseExact : true,
22
+ longDateFormat : {
23
+ LT : 'HH:mm',
24
+ LTS : 'HH:mm:ss',
25
+ L : 'DD.MM.YYYY',
26
+ LL : 'D. MMMM YYYY',
27
+ LLL : 'D. MMMM YYYY [kl.] HH:mm',
28
+ LLLL : 'dddd D. MMMM YYYY [kl.] HH:mm'
29
+ },
30
+ calendar : {
31
+ sameDay: '[i dag kl.] LT',
32
+ nextDay: '[i morgen kl.] LT',
33
+ nextWeek: 'dddd [kl.] LT',
34
+ lastDay: '[i går kl.] LT',
35
+ lastWeek: '[forrige] dddd [kl.] LT',
36
+ sameElse: 'L'
37
+ },
38
+ relativeTime : {
39
+ future : 'om %s',
40
+ past : '%s siden',
41
+ s : 'noen sekunder',
42
+ m : 'ett minutt',
43
+ mm : '%d minutter',
44
+ h : 'en time',
45
+ hh : '%d timer',
46
+ d : 'en dag',
47
+ dd : '%d dager',
48
+ M : 'en måned',
49
+ MM : '%d måneder',
50
+ y : 'ett år',
51
+ yy : '%d år'
52
+ },
53
+ ordinalParse: /\d{1,2}\./,
54
+ ordinal : '%d.',
55
+ week : {
56
+ dow : 1, // Monday is the first day of the week.
57
+ doy : 4 // The week that contains Jan 4th is the first week of the year.
58
+ }
59
+ });
60
60
 
61
- return nb;
61
+ return nb;
62
62
 
63
- }));
63
+ })));
@@ -7,117 +7,117 @@
7
7
  && typeof require === 'function' ? factory(require('../moment')) :
8
8
  typeof define === 'function' && define.amd ? define(['../moment'], factory) :
9
9
  factory(global.moment)
10
- }(this, function (moment) { 'use strict';
10
+ }(this, (function (moment) { 'use strict';
11
11
 
12
12
 
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
- numberMap = {
26
- '१': '1',
27
- '२': '2',
28
- '३': '3',
29
- '४': '4',
30
- '५': '5',
31
- '६': '6',
32
- '७': '7',
33
- '८': '8',
34
- '९': '9',
35
- '०': '0'
36
- };
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
+ };
37
37
 
38
- var ne = moment.defineLocale('ne', {
39
- months : 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split('_'),
40
- monthsShort : 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split('_'),
41
- monthsParseExact : true,
42
- weekdays : 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split('_'),
43
- weekdaysShort : 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'),
44
- weekdaysMin : 'आ._सो._मं._बु._बि._शु._श.'.split('_'),
45
- weekdaysParseExact : true,
46
- longDateFormat : {
47
- LT : 'Aको h:mm बजे',
48
- LTS : 'Aको h:mm:ss बजे',
49
- L : 'DD/MM/YYYY',
50
- LL : 'D MMMM YYYY',
51
- LLL : 'D MMMM YYYY, Aको h:mm बजे',
52
- LLLL : 'dddd, D MMMM YYYY, Aको h:mm बजे'
53
- },
54
- preparse: function (string) {
55
- return string.replace(/[१२३४५६७८९०]/g, function (match) {
56
- return numberMap[match];
57
- });
58
- },
59
- postformat: function (string) {
60
- return string.replace(/\d/g, function (match) {
61
- return symbolMap[match];
62
- });
63
- },
64
- meridiemParse: /राति|बिहान|दिउँसो|साँझ/,
65
- meridiemHour : function (hour, meridiem) {
66
- if (hour === 12) {
67
- hour = 0;
68
- }
69
- if (meridiem === 'राति') {
70
- return hour < 4 ? hour : hour + 12;
71
- } else if (meridiem === 'बिहान') {
72
- return hour;
73
- } else if (meridiem === 'दिउँसो') {
74
- return hour >= 10 ? hour : hour + 12;
75
- } else if (meridiem === 'साँझ') {
76
- return hour + 12;
77
- }
78
- },
79
- meridiem : function (hour, minute, isLower) {
80
- if (hour < 3) {
81
- return 'राति';
82
- } else if (hour < 12) {
83
- return 'बिहान';
84
- } else if (hour < 16) {
85
- return 'दिउँसो';
86
- } else if (hour < 20) {
87
- return 'साँझ';
88
- } else {
89
- return 'राति';
90
- }
91
- },
92
- calendar : {
93
- sameDay : '[आज] LT',
94
- nextDay : '[भोलि] LT',
95
- nextWeek : '[आउँदो] dddd[,] LT',
96
- lastDay : '[हिजो] LT',
97
- lastWeek : '[गएको] dddd[,] LT',
98
- sameElse : 'L'
99
- },
100
- relativeTime : {
101
- future : '%sमा',
102
- past : '%s अगाडि',
103
- s : 'केही क्षण',
104
- m : 'एक मिनेट',
105
- mm : '%d मिनेट',
106
- h : 'एक घण्टा',
107
- hh : '%d घण्टा',
108
- d : 'एक दिन',
109
- dd : '%d दिन',
110
- M : 'एक महिना',
111
- MM : '%d महिना',
112
- y : 'एक बर्ष',
113
- yy : '%d बर्ष'
114
- },
115
- week : {
116
- dow : 0, // Sunday is the first day of the week.
117
- doy : 6 // The week that contains Jan 1st is the first week of the year.
38
+ var ne = moment.defineLocale('ne', {
39
+ months : 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split('_'),
40
+ monthsShort : 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split('_'),
41
+ monthsParseExact : true,
42
+ weekdays : 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split('_'),
43
+ weekdaysShort : 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'),
44
+ weekdaysMin : 'आ._सो._मं._बु._बि._शु._श.'.split('_'),
45
+ weekdaysParseExact : true,
46
+ longDateFormat : {
47
+ LT : 'Aको h:mm बजे',
48
+ LTS : 'Aको h:mm:ss बजे',
49
+ L : 'DD/MM/YYYY',
50
+ LL : 'D MMMM YYYY',
51
+ LLL : 'D MMMM YYYY, Aको h:mm बजे',
52
+ LLLL : 'dddd, D MMMM YYYY, Aको h:mm बजे'
53
+ },
54
+ preparse: function (string) {
55
+ return string.replace(/[१२३४५६७८९०]/g, function (match) {
56
+ return numberMap[match];
57
+ });
58
+ },
59
+ postformat: function (string) {
60
+ return string.replace(/\d/g, function (match) {
61
+ return symbolMap[match];
62
+ });
63
+ },
64
+ meridiemParse: /राति|बिहान|दिउँसो|साँझ/,
65
+ meridiemHour : function (hour, meridiem) {
66
+ if (hour === 12) {
67
+ hour = 0;
68
+ }
69
+ if (meridiem === 'राति') {
70
+ return hour < 4 ? hour : hour + 12;
71
+ } else if (meridiem === 'बिहान') {
72
+ return hour;
73
+ } else if (meridiem === 'दिउँसो') {
74
+ return hour >= 10 ? hour : hour + 12;
75
+ } else if (meridiem === 'साँझ') {
76
+ return hour + 12;
118
77
  }
119
- });
78
+ },
79
+ meridiem : function (hour, minute, isLower) {
80
+ if (hour < 3) {
81
+ return 'राति';
82
+ } else if (hour < 12) {
83
+ return 'बिहान';
84
+ } else if (hour < 16) {
85
+ return 'दिउँसो';
86
+ } else if (hour < 20) {
87
+ return 'साँझ';
88
+ } else {
89
+ return 'राति';
90
+ }
91
+ },
92
+ calendar : {
93
+ sameDay : '[आज] LT',
94
+ nextDay : '[भोलि] LT',
95
+ nextWeek : '[आउँदो] dddd[,] LT',
96
+ lastDay : '[हिजो] LT',
97
+ lastWeek : '[गएको] dddd[,] LT',
98
+ sameElse : 'L'
99
+ },
100
+ relativeTime : {
101
+ future : '%sमा',
102
+ past : '%s अगाडि',
103
+ s : 'केही क्षण',
104
+ m : 'एक मिनेट',
105
+ mm : '%d मिनेट',
106
+ h : 'एक घण्टा',
107
+ hh : '%d घण्टा',
108
+ d : 'एक दिन',
109
+ dd : '%d दिन',
110
+ M : 'एक महिना',
111
+ MM : '%d महिना',
112
+ y : 'एक बर्ष',
113
+ yy : '%d बर्ष'
114
+ },
115
+ week : {
116
+ dow : 0, // Sunday is the first day of the week.
117
+ doy : 6 // The week that contains Jan 1st is the first week of the year.
118
+ }
119
+ });
120
120
 
121
- return ne;
121
+ return ne;
122
122
 
123
- }));
123
+ })));
@@ -0,0 +1,86 @@
1
+ //! moment.js locale configuration
2
+ //! locale : Dutch (Belgium) [nl-be]
3
+ //! author : Joris Röling : https://github.com/jorisroling
4
+ //! author : Jacob Middag : https://github.com/middagj
5
+
6
+ ;(function (global, factory) {
7
+ typeof exports === 'object' && typeof module !== 'undefined'
8
+ && typeof require === 'function' ? factory(require('../moment')) :
9
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
10
+ factory(global.moment)
11
+ }(this, (function (moment) { 'use strict';
12
+
13
+
14
+ var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_');
15
+ var monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_');
16
+
17
+ var monthsParse = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i];
18
+ var monthsRegex = /^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;
19
+
20
+ var nlBe = moment.defineLocale('nl-be', {
21
+ months : 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'),
22
+ monthsShort : function (m, format) {
23
+ if (/-MMM-/.test(format)) {
24
+ return monthsShortWithoutDots[m.month()];
25
+ } else {
26
+ return monthsShortWithDots[m.month()];
27
+ }
28
+ },
29
+
30
+ monthsRegex: monthsRegex,
31
+ monthsShortRegex: monthsRegex,
32
+ monthsStrictRegex: /^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,
33
+ monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
34
+
35
+ monthsParse : monthsParse,
36
+ longMonthsParse : monthsParse,
37
+ shortMonthsParse : monthsParse,
38
+
39
+ weekdays : 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
40
+ weekdaysShort : 'zo._ma._di._wo._do._vr._za.'.split('_'),
41
+ weekdaysMin : 'Zo_Ma_Di_Wo_Do_Vr_Za'.split('_'),
42
+ weekdaysParseExact : true,
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: '[vandaag om] LT',
53
+ nextDay: '[morgen om] LT',
54
+ nextWeek: 'dddd [om] LT',
55
+ lastDay: '[gisteren om] LT',
56
+ lastWeek: '[afgelopen] dddd [om] LT',
57
+ sameElse: 'L'
58
+ },
59
+ relativeTime : {
60
+ future : 'over %s',
61
+ past : '%s geleden',
62
+ s : 'een paar seconden',
63
+ m : 'één minuut',
64
+ mm : '%d minuten',
65
+ h : 'één uur',
66
+ hh : '%d uur',
67
+ d : 'één dag',
68
+ dd : '%d dagen',
69
+ M : 'één maand',
70
+ MM : '%d maanden',
71
+ y : 'één jaar',
72
+ yy : '%d jaar'
73
+ },
74
+ ordinalParse: /\d{1,2}(ste|de)/,
75
+ ordinal : function (number) {
76
+ return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');
77
+ },
78
+ week : {
79
+ dow : 1, // Monday is the first day of the week.
80
+ doy : 4 // The week that contains Jan 4th is the first week of the year.
81
+ }
82
+ });
83
+
84
+ return nlBe;
85
+
86
+ })));
@@ -8,79 +8,79 @@
8
8
  && typeof require === 'function' ? factory(require('../moment')) :
9
9
  typeof define === 'function' && define.amd ? define(['../moment'], factory) :
10
10
  factory(global.moment)
11
- }(this, function (moment) { 'use strict';
11
+ }(this, (function (moment) { 'use strict';
12
12
 
13
13
 
14
- var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),
15
- monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_');
14
+ var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_');
15
+ var monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_');
16
16
 
17
- var monthsParse = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i];
18
- var monthsRegex = /^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;
17
+ var monthsParse = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i];
18
+ var monthsRegex = /^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;
19
19
 
20
- var nl = moment.defineLocale('nl', {
21
- months : 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'),
22
- monthsShort : function (m, format) {
23
- if (/-MMM-/.test(format)) {
24
- return monthsShortWithoutDots[m.month()];
25
- } else {
26
- return monthsShortWithDots[m.month()];
27
- }
28
- },
20
+ var nl = moment.defineLocale('nl', {
21
+ months : 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'),
22
+ monthsShort : function (m, format) {
23
+ if (/-MMM-/.test(format)) {
24
+ return monthsShortWithoutDots[m.month()];
25
+ } else {
26
+ return monthsShortWithDots[m.month()];
27
+ }
28
+ },
29
29
 
30
- monthsRegex: monthsRegex,
31
- monthsShortRegex: monthsRegex,
32
- monthsStrictRegex: /^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,
33
- monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
30
+ monthsRegex: monthsRegex,
31
+ monthsShortRegex: monthsRegex,
32
+ monthsStrictRegex: /^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,
33
+ monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
34
34
 
35
- monthsParse : monthsParse,
36
- longMonthsParse : monthsParse,
37
- shortMonthsParse : monthsParse,
35
+ monthsParse : monthsParse,
36
+ longMonthsParse : monthsParse,
37
+ shortMonthsParse : monthsParse,
38
38
 
39
- weekdays : 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
40
- weekdaysShort : 'zo._ma._di._wo._do._vr._za.'.split('_'),
41
- weekdaysMin : 'Zo_Ma_Di_Wo_Do_Vr_Za'.split('_'),
42
- weekdaysParseExact : true,
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: '[vandaag om] LT',
53
- nextDay: '[morgen om] LT',
54
- nextWeek: 'dddd [om] LT',
55
- lastDay: '[gisteren om] LT',
56
- lastWeek: '[afgelopen] dddd [om] LT',
57
- sameElse: 'L'
58
- },
59
- relativeTime : {
60
- future : 'over %s',
61
- past : '%s geleden',
62
- s : 'een paar seconden',
63
- m : 'één minuut',
64
- mm : '%d minuten',
65
- h : 'één uur',
66
- hh : '%d uur',
67
- d : 'één dag',
68
- dd : '%d dagen',
69
- M : 'één maand',
70
- MM : '%d maanden',
71
- y : 'één jaar',
72
- yy : '%d jaar'
73
- },
74
- ordinalParse: /\d{1,2}(ste|de)/,
75
- ordinal : function (number) {
76
- return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');
77
- },
78
- week : {
79
- dow : 1, // Monday is the first day of the week.
80
- doy : 4 // The week that contains Jan 4th is the first week of the year.
81
- }
82
- });
39
+ weekdays : 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
40
+ weekdaysShort : 'zo._ma._di._wo._do._vr._za.'.split('_'),
41
+ weekdaysMin : 'Zo_Ma_Di_Wo_Do_Vr_Za'.split('_'),
42
+ weekdaysParseExact : true,
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: '[vandaag om] LT',
53
+ nextDay: '[morgen om] LT',
54
+ nextWeek: 'dddd [om] LT',
55
+ lastDay: '[gisteren om] LT',
56
+ lastWeek: '[afgelopen] dddd [om] LT',
57
+ sameElse: 'L'
58
+ },
59
+ relativeTime : {
60
+ future : 'over %s',
61
+ past : '%s geleden',
62
+ s : 'een paar seconden',
63
+ m : 'één minuut',
64
+ mm : '%d minuten',
65
+ h : 'één uur',
66
+ hh : '%d uur',
67
+ d : 'één dag',
68
+ dd : '%d dagen',
69
+ M : 'één maand',
70
+ MM : '%d maanden',
71
+ y : 'één jaar',
72
+ yy : '%d jaar'
73
+ },
74
+ ordinalParse: /\d{1,2}(ste|de)/,
75
+ ordinal : function (number) {
76
+ return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');
77
+ },
78
+ week : {
79
+ dow : 1, // Monday is the first day of the week.
80
+ doy : 4 // The week that contains Jan 4th is the first week of the year.
81
+ }
82
+ });
83
83
 
84
- return nl;
84
+ return nl;
85
85
 
86
- }));
86
+ })));