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
@@ -7,61 +7,61 @@
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 en_au = moment.defineLocale('en-au', {
14
- months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
15
- monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
16
- weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
17
- weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
18
- weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
19
- longDateFormat : {
20
- LT : 'h:mm A',
21
- LTS : 'h:mm:ss A',
22
- L : 'DD/MM/YYYY',
23
- LL : 'D MMMM YYYY',
24
- LLL : 'D MMMM YYYY h:mm A',
25
- LLLL : 'dddd, D MMMM YYYY h:mm A'
26
- },
27
- calendar : {
28
- sameDay : '[Today at] LT',
29
- nextDay : '[Tomorrow at] LT',
30
- nextWeek : 'dddd [at] LT',
31
- lastDay : '[Yesterday at] LT',
32
- lastWeek : '[Last] dddd [at] LT',
33
- sameElse : 'L'
34
- },
35
- relativeTime : {
36
- future : 'in %s',
37
- past : '%s ago',
38
- s : 'a few seconds',
39
- m : 'a minute',
40
- mm : '%d minutes',
41
- h : 'an hour',
42
- hh : '%d hours',
43
- d : 'a day',
44
- dd : '%d days',
45
- M : 'a month',
46
- MM : '%d months',
47
- y : 'a year',
48
- yy : '%d years'
49
- },
50
- ordinalParse: /\d{1,2}(st|nd|rd|th)/,
51
- ordinal : function (number) {
52
- var b = number % 10,
53
- output = (~~(number % 100 / 10) === 1) ? 'th' :
54
- (b === 1) ? 'st' :
55
- (b === 2) ? 'nd' :
56
- (b === 3) ? 'rd' : 'th';
57
- return number + output;
58
- },
59
- week : {
60
- dow : 1, // Monday is the first day of the week.
61
- doy : 4 // The week that contains Jan 4th is the first week of the year.
62
- }
63
- });
13
+ var enAu = moment.defineLocale('en-au', {
14
+ months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
15
+ monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
16
+ weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
17
+ weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
18
+ weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
19
+ longDateFormat : {
20
+ LT : 'h:mm A',
21
+ LTS : 'h:mm:ss A',
22
+ L : 'DD/MM/YYYY',
23
+ LL : 'D MMMM YYYY',
24
+ LLL : 'D MMMM YYYY h:mm A',
25
+ LLLL : 'dddd, D MMMM YYYY h:mm A'
26
+ },
27
+ calendar : {
28
+ sameDay : '[Today at] LT',
29
+ nextDay : '[Tomorrow at] LT',
30
+ nextWeek : 'dddd [at] LT',
31
+ lastDay : '[Yesterday at] LT',
32
+ lastWeek : '[Last] dddd [at] LT',
33
+ sameElse : 'L'
34
+ },
35
+ relativeTime : {
36
+ future : 'in %s',
37
+ past : '%s ago',
38
+ s : 'a few seconds',
39
+ m : 'a minute',
40
+ mm : '%d minutes',
41
+ h : 'an hour',
42
+ hh : '%d hours',
43
+ d : 'a day',
44
+ dd : '%d days',
45
+ M : 'a month',
46
+ MM : '%d months',
47
+ y : 'a year',
48
+ yy : '%d years'
49
+ },
50
+ ordinalParse: /\d{1,2}(st|nd|rd|th)/,
51
+ ordinal : function (number) {
52
+ var b = number % 10,
53
+ output = (~~(number % 100 / 10) === 1) ? 'th' :
54
+ (b === 1) ? 'st' :
55
+ (b === 2) ? 'nd' :
56
+ (b === 3) ? 'rd' : 'th';
57
+ return number + output;
58
+ },
59
+ week : {
60
+ dow : 1, // Monday is the first day of the week.
61
+ doy : 4 // The week that contains Jan 4th is the first week of the year.
62
+ }
63
+ });
64
64
 
65
- return en_au;
65
+ return enAu;
66
66
 
67
- }));
67
+ })));
@@ -7,57 +7,57 @@
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 en_ca = moment.defineLocale('en-ca', {
14
- months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
15
- monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
16
- weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
17
- weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
18
- weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
19
- longDateFormat : {
20
- LT : 'h:mm A',
21
- LTS : 'h:mm:ss A',
22
- L : 'YYYY-MM-DD',
23
- LL : 'MMMM D, YYYY',
24
- LLL : 'MMMM D, YYYY h:mm A',
25
- LLLL : 'dddd, MMMM D, YYYY h:mm A'
26
- },
27
- calendar : {
28
- sameDay : '[Today at] LT',
29
- nextDay : '[Tomorrow at] LT',
30
- nextWeek : 'dddd [at] LT',
31
- lastDay : '[Yesterday at] LT',
32
- lastWeek : '[Last] dddd [at] LT',
33
- sameElse : 'L'
34
- },
35
- relativeTime : {
36
- future : 'in %s',
37
- past : '%s ago',
38
- s : 'a few seconds',
39
- m : 'a minute',
40
- mm : '%d minutes',
41
- h : 'an hour',
42
- hh : '%d hours',
43
- d : 'a day',
44
- dd : '%d days',
45
- M : 'a month',
46
- MM : '%d months',
47
- y : 'a year',
48
- yy : '%d years'
49
- },
50
- ordinalParse: /\d{1,2}(st|nd|rd|th)/,
51
- ordinal : function (number) {
52
- var b = number % 10,
53
- output = (~~(number % 100 / 10) === 1) ? 'th' :
54
- (b === 1) ? 'st' :
55
- (b === 2) ? 'nd' :
56
- (b === 3) ? 'rd' : 'th';
57
- return number + output;
58
- }
59
- });
13
+ var enCa = moment.defineLocale('en-ca', {
14
+ months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
15
+ monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
16
+ weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
17
+ weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
18
+ weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
19
+ longDateFormat : {
20
+ LT : 'h:mm A',
21
+ LTS : 'h:mm:ss A',
22
+ L : 'YYYY-MM-DD',
23
+ LL : 'MMMM D, YYYY',
24
+ LLL : 'MMMM D, YYYY h:mm A',
25
+ LLLL : 'dddd, MMMM D, YYYY h:mm A'
26
+ },
27
+ calendar : {
28
+ sameDay : '[Today at] LT',
29
+ nextDay : '[Tomorrow at] LT',
30
+ nextWeek : 'dddd [at] LT',
31
+ lastDay : '[Yesterday at] LT',
32
+ lastWeek : '[Last] dddd [at] LT',
33
+ sameElse : 'L'
34
+ },
35
+ relativeTime : {
36
+ future : 'in %s',
37
+ past : '%s ago',
38
+ s : 'a few seconds',
39
+ m : 'a minute',
40
+ mm : '%d minutes',
41
+ h : 'an hour',
42
+ hh : '%d hours',
43
+ d : 'a day',
44
+ dd : '%d days',
45
+ M : 'a month',
46
+ MM : '%d months',
47
+ y : 'a year',
48
+ yy : '%d years'
49
+ },
50
+ ordinalParse: /\d{1,2}(st|nd|rd|th)/,
51
+ ordinal : function (number) {
52
+ var b = number % 10,
53
+ output = (~~(number % 100 / 10) === 1) ? 'th' :
54
+ (b === 1) ? 'st' :
55
+ (b === 2) ? 'nd' :
56
+ (b === 3) ? 'rd' : 'th';
57
+ return number + output;
58
+ }
59
+ });
60
60
 
61
- return en_ca;
61
+ return enCa;
62
62
 
63
- }));
63
+ })));
@@ -7,61 +7,61 @@
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 en_gb = moment.defineLocale('en-gb', {
14
- months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
15
- monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
16
- weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
17
- weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
18
- weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.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
- calendar : {
28
- sameDay : '[Today at] LT',
29
- nextDay : '[Tomorrow at] LT',
30
- nextWeek : 'dddd [at] LT',
31
- lastDay : '[Yesterday at] LT',
32
- lastWeek : '[Last] dddd [at] LT',
33
- sameElse : 'L'
34
- },
35
- relativeTime : {
36
- future : 'in %s',
37
- past : '%s ago',
38
- s : 'a few seconds',
39
- m : 'a minute',
40
- mm : '%d minutes',
41
- h : 'an hour',
42
- hh : '%d hours',
43
- d : 'a day',
44
- dd : '%d days',
45
- M : 'a month',
46
- MM : '%d months',
47
- y : 'a year',
48
- yy : '%d years'
49
- },
50
- ordinalParse: /\d{1,2}(st|nd|rd|th)/,
51
- ordinal : function (number) {
52
- var b = number % 10,
53
- output = (~~(number % 100 / 10) === 1) ? 'th' :
54
- (b === 1) ? 'st' :
55
- (b === 2) ? 'nd' :
56
- (b === 3) ? 'rd' : 'th';
57
- return number + output;
58
- },
59
- week : {
60
- dow : 1, // Monday is the first day of the week.
61
- doy : 4 // The week that contains Jan 4th is the first week of the year.
62
- }
63
- });
13
+ var enGb = moment.defineLocale('en-gb', {
14
+ months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
15
+ monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
16
+ weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
17
+ weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
18
+ weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.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
+ calendar : {
28
+ sameDay : '[Today at] LT',
29
+ nextDay : '[Tomorrow at] LT',
30
+ nextWeek : 'dddd [at] LT',
31
+ lastDay : '[Yesterday at] LT',
32
+ lastWeek : '[Last] dddd [at] LT',
33
+ sameElse : 'L'
34
+ },
35
+ relativeTime : {
36
+ future : 'in %s',
37
+ past : '%s ago',
38
+ s : 'a few seconds',
39
+ m : 'a minute',
40
+ mm : '%d minutes',
41
+ h : 'an hour',
42
+ hh : '%d hours',
43
+ d : 'a day',
44
+ dd : '%d days',
45
+ M : 'a month',
46
+ MM : '%d months',
47
+ y : 'a year',
48
+ yy : '%d years'
49
+ },
50
+ ordinalParse: /\d{1,2}(st|nd|rd|th)/,
51
+ ordinal : function (number) {
52
+ var b = number % 10,
53
+ output = (~~(number % 100 / 10) === 1) ? 'th' :
54
+ (b === 1) ? 'st' :
55
+ (b === 2) ? 'nd' :
56
+ (b === 3) ? 'rd' : 'th';
57
+ return number + output;
58
+ },
59
+ week : {
60
+ dow : 1, // Monday is the first day of the week.
61
+ doy : 4 // The week that contains Jan 4th is the first week of the year.
62
+ }
63
+ });
64
64
 
65
- return en_gb;
65
+ return enGb;
66
66
 
67
- }));
67
+ })));
@@ -7,61 +7,61 @@
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 en_ie = moment.defineLocale('en-ie', {
14
- months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
15
- monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
16
- weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
17
- weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
18
- weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.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
- calendar : {
28
- sameDay : '[Today at] LT',
29
- nextDay : '[Tomorrow at] LT',
30
- nextWeek : 'dddd [at] LT',
31
- lastDay : '[Yesterday at] LT',
32
- lastWeek : '[Last] dddd [at] LT',
33
- sameElse : 'L'
34
- },
35
- relativeTime : {
36
- future : 'in %s',
37
- past : '%s ago',
38
- s : 'a few seconds',
39
- m : 'a minute',
40
- mm : '%d minutes',
41
- h : 'an hour',
42
- hh : '%d hours',
43
- d : 'a day',
44
- dd : '%d days',
45
- M : 'a month',
46
- MM : '%d months',
47
- y : 'a year',
48
- yy : '%d years'
49
- },
50
- ordinalParse: /\d{1,2}(st|nd|rd|th)/,
51
- ordinal : function (number) {
52
- var b = number % 10,
53
- output = (~~(number % 100 / 10) === 1) ? 'th' :
54
- (b === 1) ? 'st' :
55
- (b === 2) ? 'nd' :
56
- (b === 3) ? 'rd' : 'th';
57
- return number + output;
58
- },
59
- week : {
60
- dow : 1, // Monday is the first day of the week.
61
- doy : 4 // The week that contains Jan 4th is the first week of the year.
62
- }
63
- });
13
+ var enIe = moment.defineLocale('en-ie', {
14
+ months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
15
+ monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
16
+ weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
17
+ weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
18
+ weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.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
+ calendar : {
28
+ sameDay : '[Today at] LT',
29
+ nextDay : '[Tomorrow at] LT',
30
+ nextWeek : 'dddd [at] LT',
31
+ lastDay : '[Yesterday at] LT',
32
+ lastWeek : '[Last] dddd [at] LT',
33
+ sameElse : 'L'
34
+ },
35
+ relativeTime : {
36
+ future : 'in %s',
37
+ past : '%s ago',
38
+ s : 'a few seconds',
39
+ m : 'a minute',
40
+ mm : '%d minutes',
41
+ h : 'an hour',
42
+ hh : '%d hours',
43
+ d : 'a day',
44
+ dd : '%d days',
45
+ M : 'a month',
46
+ MM : '%d months',
47
+ y : 'a year',
48
+ yy : '%d years'
49
+ },
50
+ ordinalParse: /\d{1,2}(st|nd|rd|th)/,
51
+ ordinal : function (number) {
52
+ var b = number % 10,
53
+ output = (~~(number % 100 / 10) === 1) ? 'th' :
54
+ (b === 1) ? 'st' :
55
+ (b === 2) ? 'nd' :
56
+ (b === 3) ? 'rd' : 'th';
57
+ return number + output;
58
+ },
59
+ week : {
60
+ dow : 1, // Monday is the first day of the week.
61
+ doy : 4 // The week that contains Jan 4th is the first week of the year.
62
+ }
63
+ });
64
64
 
65
- return en_ie;
65
+ return enIe;
66
66
 
67
- }));
67
+ })));