momentjs-rails 2.9.0 → 2.20.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (133) hide show
  1. checksums.yaml +5 -5
  2. data/MIT-LICENSE +1 -1
  3. data/README.md +13 -11
  4. data/news.md +24 -7
  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 -2
  12. data/vendor/assets/javascripts/moment/af.js +72 -69
  13. data/vendor/assets/javascripts/moment/ar-dz.js +60 -0
  14. data/vendor/assets/javascripts/moment/ar-kw.js +60 -0
  15. data/vendor/assets/javascripts/moment/ar-ly.js +127 -0
  16. data/vendor/assets/javascripts/moment/ar-ma.js +59 -55
  17. data/vendor/assets/javascripts/moment/ar-sa.js +103 -98
  18. data/vendor/assets/javascripts/moment/ar-tn.js +58 -53
  19. data/vendor/assets/javascripts/moment/ar.js +140 -131
  20. data/vendor/assets/javascripts/moment/az.js +100 -101
  21. data/vendor/assets/javascripts/moment/be.js +106 -125
  22. data/vendor/assets/javascripts/moment/bg.js +78 -75
  23. data/vendor/assets/javascripts/moment/bm.js +60 -0
  24. data/vendor/assets/javascripts/moment/bn.js +117 -108
  25. data/vendor/assets/javascripts/moment/bo.js +117 -105
  26. data/vendor/assets/javascripts/moment/br.js +92 -92
  27. data/vendor/assets/javascripts/moment/bs.js +81 -68
  28. data/vendor/assets/javascripts/moment/ca.js +83 -71
  29. data/vendor/assets/javascripts/moment/cs.js +102 -79
  30. data/vendor/assets/javascripts/moment/cv.js +62 -59
  31. data/vendor/assets/javascripts/moment/cy.js +78 -75
  32. data/vendor/assets/javascripts/moment/da.js +59 -56
  33. data/vendor/assets/javascripts/moment/de-at.js +77 -71
  34. data/vendor/assets/javascripts/moment/de-ch.js +79 -0
  35. data/vendor/assets/javascripts/moment/de.js +76 -70
  36. data/vendor/assets/javascripts/moment/dv.js +101 -0
  37. data/vendor/assets/javascripts/moment/el.js +96 -89
  38. data/vendor/assets/javascripts/moment/en-au.js +66 -62
  39. data/vendor/assets/javascripts/moment/en-ca.js +62 -59
  40. data/vendor/assets/javascripts/moment/en-gb.js +66 -63
  41. data/vendor/assets/javascripts/moment/en-ie.js +68 -0
  42. data/vendor/assets/javascripts/moment/en-nz.js +68 -0
  43. data/vendor/assets/javascripts/moment/eo.js +72 -69
  44. data/vendor/assets/javascripts/moment/es-do.js +92 -0
  45. data/vendor/assets/javascripts/moment/es-us.js +84 -0
  46. data/vendor/assets/javascripts/moment/es.js +87 -71
  47. data/vendor/assets/javascripts/moment/et.js +78 -74
  48. data/vendor/assets/javascripts/moment/eu.js +65 -60
  49. data/vendor/assets/javascripts/moment/fa.js +105 -100
  50. data/vendor/assets/javascripts/moment/fi.js +77 -74
  51. data/vendor/assets/javascripts/moment/fo.js +59 -56
  52. data/vendor/assets/javascripts/moment/fr-ca.js +73 -54
  53. data/vendor/assets/javascripts/moment/fr-ch.js +79 -0
  54. data/vendor/assets/javascripts/moment/fr.js +82 -58
  55. data/vendor/assets/javascripts/moment/fy.js +73 -66
  56. data/vendor/assets/javascripts/moment/gd.js +77 -0
  57. data/vendor/assets/javascripts/moment/gl.js +74 -69
  58. data/vendor/assets/javascripts/moment/gom-latn.js +124 -0
  59. data/vendor/assets/javascripts/moment/gu.js +125 -0
  60. data/vendor/assets/javascripts/moment/he.js +95 -75
  61. data/vendor/assets/javascripts/moment/hi.js +122 -118
  62. data/vendor/assets/javascripts/moment/hr.js +82 -68
  63. data/vendor/assets/javascripts/moment/hu.js +82 -82
  64. data/vendor/assets/javascripts/moment/hy-am.js +80 -102
  65. data/vendor/assets/javascripts/moment/id.js +82 -79
  66. data/vendor/assets/javascripts/moment/is.js +75 -68
  67. data/vendor/assets/javascripts/moment/it.js +68 -65
  68. data/vendor/assets/javascripts/moment/ja.js +79 -61
  69. data/vendor/assets/javascripts/moment/jv.js +84 -0
  70. data/vendor/assets/javascripts/moment/ka.js +82 -101
  71. data/vendor/assets/javascripts/moment/kk.js +88 -0
  72. data/vendor/assets/javascripts/moment/km.js +57 -54
  73. data/vendor/assets/javascripts/moment/kn.js +127 -0
  74. data/vendor/assets/javascripts/moment/ko.js +82 -64
  75. data/vendor/assets/javascripts/moment/ky.js +89 -0
  76. data/vendor/assets/javascripts/moment/lb.js +126 -127
  77. data/vendor/assets/javascripts/moment/lo.js +71 -0
  78. data/vendor/assets/javascripts/moment/lt.js +110 -111
  79. data/vendor/assets/javascripts/moment/lv.js +92 -72
  80. data/vendor/assets/javascripts/moment/me.js +113 -0
  81. data/vendor/assets/javascripts/moment/mi.js +65 -0
  82. data/vendor/assets/javascripts/moment/mk.js +80 -77
  83. data/vendor/assets/javascripts/moment/ml.js +80 -67
  84. data/vendor/assets/javascripts/moment/mr.js +158 -116
  85. data/vendor/assets/javascripts/moment/ms-my.js +82 -78
  86. data/vendor/assets/javascripts/moment/ms.js +83 -0
  87. data/vendor/assets/javascripts/moment/mt.js +61 -0
  88. data/vendor/assets/javascripts/moment/my.js +95 -87
  89. data/vendor/assets/javascripts/moment/nb.js +62 -57
  90. data/vendor/assets/javascripts/moment/ne.js +121 -118
  91. data/vendor/assets/javascripts/moment/nl-be.js +89 -0
  92. data/vendor/assets/javascripts/moment/nl.js +86 -66
  93. data/vendor/assets/javascripts/moment/nn.js +59 -56
  94. data/vendor/assets/javascripts/moment/pa-in.js +125 -0
  95. data/vendor/assets/javascripts/moment/pl.js +99 -72
  96. data/vendor/assets/javascripts/moment/pt-br.js +60 -56
  97. data/vendor/assets/javascripts/moment/pt.js +64 -60
  98. data/vendor/assets/javascripts/moment/ro.js +72 -68
  99. data/vendor/assets/javascripts/moment/ru.js +156 -147
  100. data/vendor/assets/javascripts/moment/sd.js +99 -0
  101. data/vendor/assets/javascripts/moment/se.js +62 -0
  102. data/vendor/assets/javascripts/moment/si.js +72 -0
  103. data/vendor/assets/javascripts/moment/sk.js +80 -80
  104. data/vendor/assets/javascripts/moment/sl.js +117 -89
  105. data/vendor/assets/javascripts/moment/sq.js +69 -65
  106. data/vendor/assets/javascripts/moment/sr-cyrl.js +96 -91
  107. data/vendor/assets/javascripts/moment/sr.js +96 -91
  108. data/vendor/assets/javascripts/moment/ss.js +90 -0
  109. data/vendor/assets/javascripts/moment/sv.js +68 -63
  110. data/vendor/assets/javascripts/moment/sw.js +60 -0
  111. data/vendor/assets/javascripts/moment/ta.js +126 -125
  112. data/vendor/assets/javascripts/moment/te.js +90 -0
  113. data/vendor/assets/javascripts/moment/tet.js +69 -0
  114. data/vendor/assets/javascripts/moment/th.js +66 -61
  115. data/vendor/assets/javascripts/moment/tl-ph.js +61 -58
  116. data/vendor/assets/javascripts/moment/tlh.js +123 -0
  117. data/vendor/assets/javascripts/moment/tr.js +85 -88
  118. data/vendor/assets/javascripts/moment/tzl.js +93 -0
  119. data/vendor/assets/javascripts/moment/tzm-latn.js +57 -54
  120. data/vendor/assets/javascripts/moment/tzm.js +57 -54
  121. data/vendor/assets/javascripts/moment/uk.js +123 -133
  122. data/vendor/assets/javascripts/moment/ur.js +100 -0
  123. data/vendor/assets/javascripts/moment/uz-latn.js +59 -0
  124. data/vendor/assets/javascripts/moment/uz.js +57 -54
  125. data/vendor/assets/javascripts/moment/vi.js +78 -62
  126. data/vendor/assets/javascripts/moment/x-pseudo.js +69 -0
  127. data/vendor/assets/javascripts/moment/yo.js +61 -0
  128. data/vendor/assets/javascripts/moment/zh-cn.js +99 -112
  129. data/vendor/assets/javascripts/moment/zh-hk.js +106 -0
  130. data/vendor/assets/javascripts/moment/zh-tw.js +92 -86
  131. data/vendor/assets/javascripts/moment.js +4128 -2636
  132. metadata +67 -16
  133. data/test/dummy/log/test.log +0 -61
@@ -1,94 +1,101 @@
1
- // moment.js locale configuration
2
- // locale : modern greek (el)
3
- // author : Aggelos Karalias : https://github.com/mehiel
1
+ //! moment.js locale configuration
2
+ //! locale : Greek [el]
3
+ //! author : Aggelos Karalias : https://github.com/mehiel
4
4
 
5
- (function (factory) {
6
- if (typeof define === 'function' && define.amd) {
7
- define(['moment'], factory); // AMD
8
- } else if (typeof exports === 'object') {
9
- module.exports = factory(require('../moment')); // Node
10
- } else {
11
- factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
12
- }
13
- }(function (moment) {
14
- return moment.defineLocale('el', {
15
- monthsNominativeEl : 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split('_'),
16
- monthsGenitiveEl : 'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split('_'),
17
- months : function (momentToFormat, format) {
18
- if (/D/.test(format.substring(0, format.indexOf('MMMM')))) { // if there is a day number before 'MMMM'
19
- return this._monthsGenitiveEl[momentToFormat.month()];
20
- } else {
21
- return this._monthsNominativeEl[momentToFormat.month()];
22
- }
23
- },
24
- monthsShort : 'Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ'.split('_'),
25
- weekdays : 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split('_'),
26
- weekdaysShort : 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'),
27
- weekdaysMin : 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'),
28
- meridiem : function (hours, minutes, isLower) {
29
- if (hours > 11) {
30
- return isLower ? 'μμ' : 'ΜΜ';
31
- } else {
32
- return isLower ? 'πμ' : 'ΠΜ';
33
- }
34
- },
35
- isPM : function (input) {
36
- return ((input + '').toLowerCase()[0] === 'μ');
37
- },
38
- meridiemParse : /[ΠΜ]\.?Μ?\.?/i,
39
- longDateFormat : {
40
- LT : 'h:mm A',
41
- LTS : 'h:mm:ss A',
42
- L : 'DD/MM/YYYY',
43
- LL : 'D MMMM YYYY',
44
- LLL : 'D MMMM YYYY LT',
45
- LLLL : 'dddd, D MMMM YYYY LT'
46
- },
47
- calendarEl : {
48
- sameDay : '[Σήμερα {}] LT',
49
- nextDay : '[Αύριο {}] LT',
50
- nextWeek : 'dddd [{}] LT',
51
- lastDay : '[Χθες {}] LT',
52
- lastWeek : function () {
53
- switch (this.day()) {
54
- case 6:
55
- return '[το προηγούμενο] dddd [{}] LT';
56
- default:
57
- return '[την προηγούμενη] dddd [{}] LT';
58
- }
59
- },
60
- sameElse : 'L'
61
- },
62
- calendar : function (key, mom) {
63
- var output = this._calendarEl[key],
64
- hours = mom && mom.hours();
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';
65
11
 
66
- if (typeof output === 'function') {
67
- output = output.apply(mom);
68
- }
12
+ function isFunction(input) {
13
+ return input instanceof Function || Object.prototype.toString.call(input) === '[object Function]';
14
+ }
69
15
 
70
- return output.replace('{}', (hours % 12 === 1 ? 'στη' : 'στις'));
71
- },
72
- relativeTime : {
73
- future : 'σε %s',
74
- past : '%s πριν',
75
- s : 'λίγα δευτερόλεπτα',
76
- m : 'ένα λεπτό',
77
- mm : '%d λεπτά',
78
- h : 'μία ώρα',
79
- hh : '%d ώρες',
80
- d : 'μία μέρα',
81
- dd : '%d μέρες',
82
- M : 'ένας μήνας',
83
- MM : '%d μήνες',
84
- y : 'ένας χρόνος',
85
- yy : '%d χρόνια'
16
+
17
+ var el = moment.defineLocale('el', {
18
+ monthsNominativeEl : 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split('_'),
19
+ monthsGenitiveEl : 'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split('_'),
20
+ months : function (momentToFormat, format) {
21
+ if (!momentToFormat) {
22
+ return this._monthsNominativeEl;
23
+ } else if (typeof format === 'string' && /D/.test(format.substring(0, format.indexOf('MMMM')))) { // if there is a day number before 'MMMM'
24
+ return this._monthsGenitiveEl[momentToFormat.month()];
25
+ } else {
26
+ return this._monthsNominativeEl[momentToFormat.month()];
27
+ }
28
+ },
29
+ monthsShort : 'Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ'.split('_'),
30
+ weekdays : 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split('_'),
31
+ weekdaysShort : 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'),
32
+ weekdaysMin : 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'),
33
+ meridiem : function (hours, minutes, isLower) {
34
+ if (hours > 11) {
35
+ return isLower ? 'μμ' : 'ΜΜ';
36
+ } else {
37
+ return isLower ? 'πμ' : 'ΠΜ';
38
+ }
39
+ },
40
+ isPM : function (input) {
41
+ return ((input + '').toLowerCase()[0] === 'μ');
42
+ },
43
+ meridiemParse : /[ΠΜ]\.?Μ?\.?/i,
44
+ longDateFormat : {
45
+ LT : 'h:mm A',
46
+ LTS : 'h:mm:ss A',
47
+ L : 'DD/MM/YYYY',
48
+ LL : 'D MMMM YYYY',
49
+ LLL : 'D MMMM YYYY h:mm A',
50
+ LLLL : 'dddd, D MMMM YYYY h:mm A'
51
+ },
52
+ calendarEl : {
53
+ sameDay : '[Σήμερα {}] LT',
54
+ nextDay : '[Αύριο {}] LT',
55
+ nextWeek : 'dddd [{}] LT',
56
+ lastDay : '[Χθες {}] LT',
57
+ lastWeek : function () {
58
+ switch (this.day()) {
59
+ case 6:
60
+ return '[το προηγούμενο] dddd [{}] LT';
61
+ default:
62
+ return '[την προηγούμενη] dddd [{}] LT';
63
+ }
86
64
  },
87
- ordinalParse: /\d{1,2}η/,
88
- ordinal: '%dη',
89
- week : {
90
- dow : 1, // Monday is the first day of the week.
91
- doy : 4 // The week that contains Jan 4st is the first week of the year.
65
+ sameElse : 'L'
66
+ },
67
+ calendar : function (key, mom) {
68
+ var output = this._calendarEl[key],
69
+ hours = mom && mom.hours();
70
+ if (isFunction(output)) {
71
+ output = output.apply(mom);
92
72
  }
93
- });
94
- }));
73
+ return output.replace('{}', (hours % 12 === 1 ? 'στη' : 'στις'));
74
+ },
75
+ relativeTime : {
76
+ future : 'σε %s',
77
+ past : '%s πριν',
78
+ s : 'λίγα δευτερόλεπτα',
79
+ ss : '%d δευτερόλεπτα',
80
+ m : 'ένα λεπτό',
81
+ mm : '%d λεπτά',
82
+ h : 'μία ώρα',
83
+ hh : '%d ώρες',
84
+ d : 'μία μέρα',
85
+ dd : '%d μέρες',
86
+ M : 'ένας μήνας',
87
+ MM : '%d μήνες',
88
+ y : 'ένας χρόνος',
89
+ yy : '%d χρόνια'
90
+ },
91
+ dayOfMonthOrdinalParse: /\d{1,2}η/,
92
+ ordinal: '%dη',
93
+ week : {
94
+ dow : 1, // Monday is the first day of the week.
95
+ doy : 4 // The week that contains Jan 4st is the first week of the year.
96
+ }
97
+ });
98
+
99
+ return el;
100
+
101
+ })));
@@ -1,64 +1,68 @@
1
- // moment.js locale configuration
2
- // locale : australian english (en-au)
1
+ //! moment.js locale configuration
2
+ //! locale : English (Australia) [en-au]
3
+ //! author : Jared Morse : https://github.com/jarcoal
3
4
 
4
- (function (factory) {
5
- if (typeof define === 'function' && define.amd) {
6
- define(['moment'], factory); // AMD
7
- } else if (typeof exports === 'object') {
8
- module.exports = factory(require('../moment')); // Node
9
- } else {
10
- factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
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 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
+ ss : '%d seconds',
40
+ m : 'a minute',
41
+ mm : '%d minutes',
42
+ h : 'an hour',
43
+ hh : '%d hours',
44
+ d : 'a day',
45
+ dd : '%d days',
46
+ M : 'a month',
47
+ MM : '%d months',
48
+ y : 'a year',
49
+ yy : '%d years'
50
+ },
51
+ dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
52
+ ordinal : function (number) {
53
+ var b = number % 10,
54
+ output = (~~(number % 100 / 10) === 1) ? 'th' :
55
+ (b === 1) ? 'st' :
56
+ (b === 2) ? 'nd' :
57
+ (b === 3) ? 'rd' : 'th';
58
+ return number + output;
59
+ },
60
+ week : {
61
+ dow : 1, // Monday is the first day of the week.
62
+ doy : 4 // The week that contains Jan 4th is the first week of the year.
11
63
  }
12
- }(function (moment) {
13
- return 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 LT',
25
- LLLL : 'dddd, D MMMM YYYY LT'
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
+
66
+ return enAu;
67
+
68
+ })));
@@ -1,61 +1,64 @@
1
- // moment.js locale configuration
2
- // locale : canadian english (en-ca)
3
- // author : Jonathan Abourbih : https://github.com/jonbca
1
+ //! moment.js locale configuration
2
+ //! locale : English (Canada) [en-ca]
3
+ //! author : Jonathan Abourbih : https://github.com/jonbca
4
4
 
5
- (function (factory) {
6
- if (typeof define === 'function' && define.amd) {
7
- define(['moment'], factory); // AMD
8
- } else if (typeof exports === 'object') {
9
- module.exports = factory(require('../moment')); // Node
10
- } else {
11
- factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
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 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
+ ss : '%d seconds',
40
+ m : 'a minute',
41
+ mm : '%d minutes',
42
+ h : 'an hour',
43
+ hh : '%d hours',
44
+ d : 'a day',
45
+ dd : '%d days',
46
+ M : 'a month',
47
+ MM : '%d months',
48
+ y : 'a year',
49
+ yy : '%d years'
50
+ },
51
+ dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
52
+ ordinal : function (number) {
53
+ var b = number % 10,
54
+ output = (~~(number % 100 / 10) === 1) ? 'th' :
55
+ (b === 1) ? 'st' :
56
+ (b === 2) ? 'nd' :
57
+ (b === 3) ? 'rd' : 'th';
58
+ return number + output;
12
59
  }
13
- }(function (moment) {
14
- return moment.defineLocale('en-ca', {
15
- months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
16
- monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
17
- weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
18
- weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
19
- weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
20
- longDateFormat : {
21
- LT : 'h:mm A',
22
- LTS : 'h:mm:ss A',
23
- L : 'YYYY-MM-DD',
24
- LL : 'D MMMM, YYYY',
25
- LLL : 'D MMMM, YYYY LT',
26
- LLLL : 'dddd, D MMMM, YYYY LT'
27
- },
28
- calendar : {
29
- sameDay : '[Today at] LT',
30
- nextDay : '[Tomorrow at] LT',
31
- nextWeek : 'dddd [at] LT',
32
- lastDay : '[Yesterday at] LT',
33
- lastWeek : '[Last] dddd [at] LT',
34
- sameElse : 'L'
35
- },
36
- relativeTime : {
37
- future : 'in %s',
38
- past : '%s ago',
39
- s : 'a few seconds',
40
- m : 'a minute',
41
- mm : '%d minutes',
42
- h : 'an hour',
43
- hh : '%d hours',
44
- d : 'a day',
45
- dd : '%d days',
46
- M : 'a month',
47
- MM : '%d months',
48
- y : 'a year',
49
- yy : '%d years'
50
- },
51
- ordinalParse: /\d{1,2}(st|nd|rd|th)/,
52
- ordinal : function (number) {
53
- var b = number % 10,
54
- output = (~~(number % 100 / 10) === 1) ? 'th' :
55
- (b === 1) ? 'st' :
56
- (b === 2) ? 'nd' :
57
- (b === 3) ? 'rd' : 'th';
58
- return number + output;
59
- }
60
- });
61
- }));
60
+ });
61
+
62
+ return enCa;
63
+
64
+ })));
@@ -1,65 +1,68 @@
1
- // moment.js locale configuration
2
- // locale : great britain english (en-gb)
3
- // author : Chris Gedrim : https://github.com/chrisgedrim
1
+ //! moment.js locale configuration
2
+ //! locale : English (United Kingdom) [en-gb]
3
+ //! author : Chris Gedrim : https://github.com/chrisgedrim
4
4
 
5
- (function (factory) {
6
- if (typeof define === 'function' && define.amd) {
7
- define(['moment'], factory); // AMD
8
- } else if (typeof exports === 'object') {
9
- module.exports = factory(require('../moment')); // Node
10
- } else {
11
- factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
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 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
+ ss : '%d seconds',
40
+ m : 'a minute',
41
+ mm : '%d minutes',
42
+ h : 'an hour',
43
+ hh : '%d hours',
44
+ d : 'a day',
45
+ dd : '%d days',
46
+ M : 'a month',
47
+ MM : '%d months',
48
+ y : 'a year',
49
+ yy : '%d years'
50
+ },
51
+ dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
52
+ ordinal : function (number) {
53
+ var b = number % 10,
54
+ output = (~~(number % 100 / 10) === 1) ? 'th' :
55
+ (b === 1) ? 'st' :
56
+ (b === 2) ? 'nd' :
57
+ (b === 3) ? 'rd' : 'th';
58
+ return number + output;
59
+ },
60
+ week : {
61
+ dow : 1, // Monday is the first day of the week.
62
+ doy : 4 // The week that contains Jan 4th is the first week of the year.
12
63
  }
13
- }(function (moment) {
14
- return moment.defineLocale('en-gb', {
15
- months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
16
- monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
17
- weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
18
- weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
19
- weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
20
- longDateFormat : {
21
- LT : 'HH:mm',
22
- LTS : 'HH:mm:ss',
23
- L : 'DD/MM/YYYY',
24
- LL : 'D MMMM YYYY',
25
- LLL : 'D MMMM YYYY LT',
26
- LLLL : 'dddd, D MMMM YYYY LT'
27
- },
28
- calendar : {
29
- sameDay : '[Today at] LT',
30
- nextDay : '[Tomorrow at] LT',
31
- nextWeek : 'dddd [at] LT',
32
- lastDay : '[Yesterday at] LT',
33
- lastWeek : '[Last] dddd [at] LT',
34
- sameElse : 'L'
35
- },
36
- relativeTime : {
37
- future : 'in %s',
38
- past : '%s ago',
39
- s : 'a few seconds',
40
- m : 'a minute',
41
- mm : '%d minutes',
42
- h : 'an hour',
43
- hh : '%d hours',
44
- d : 'a day',
45
- dd : '%d days',
46
- M : 'a month',
47
- MM : '%d months',
48
- y : 'a year',
49
- yy : '%d years'
50
- },
51
- ordinalParse: /\d{1,2}(st|nd|rd|th)/,
52
- ordinal : function (number) {
53
- var b = number % 10,
54
- output = (~~(number % 100 / 10) === 1) ? 'th' :
55
- (b === 1) ? 'st' :
56
- (b === 2) ? 'nd' :
57
- (b === 3) ? 'rd' : 'th';
58
- return number + output;
59
- },
60
- week : {
61
- dow : 1, // Monday is the first day of the week.
62
- doy : 4 // The week that contains Jan 4th is the first week of the year.
63
- }
64
- });
65
- }));
64
+ });
65
+
66
+ return enGb;
67
+
68
+ })));
@@ -0,0 +1,68 @@
1
+ //! moment.js locale configuration
2
+ //! locale : English (Ireland) [en-ie]
3
+ //! author : Chris Cartlidge : https://github.com/chriscartlidge
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 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
+ ss : '%d seconds',
40
+ m : 'a minute',
41
+ mm : '%d minutes',
42
+ h : 'an hour',
43
+ hh : '%d hours',
44
+ d : 'a day',
45
+ dd : '%d days',
46
+ M : 'a month',
47
+ MM : '%d months',
48
+ y : 'a year',
49
+ yy : '%d years'
50
+ },
51
+ dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
52
+ ordinal : function (number) {
53
+ var b = number % 10,
54
+ output = (~~(number % 100 / 10) === 1) ? 'th' :
55
+ (b === 1) ? 'st' :
56
+ (b === 2) ? 'nd' :
57
+ (b === 3) ? 'rd' : 'th';
58
+ return number + output;
59
+ },
60
+ week : {
61
+ dow : 1, // Monday is the first day of the week.
62
+ doy : 4 // The week that contains Jan 4th is the first week of the year.
63
+ }
64
+ });
65
+
66
+ return enIe;
67
+
68
+ })));