effective_bootstrap 0.4.8 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (136) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -0
  3. data/app/assets/javascripts/effective_date/input.js +1 -1
  4. data/app/assets/javascripts/effective_datetime/input.js +1 -1
  5. data/app/assets/javascripts/effective_time/input.js +1 -1
  6. data/app/assets/javascripts/moment/locale/af.js +72 -0
  7. data/app/assets/javascripts/moment/locale/ar-dz.js +58 -0
  8. data/app/assets/javascripts/moment/locale/ar-kw.js +58 -0
  9. data/app/assets/javascripts/moment/locale/ar-ly.js +121 -0
  10. data/app/assets/javascripts/moment/locale/ar-ma.js +58 -0
  11. data/app/assets/javascripts/moment/locale/ar-sa.js +103 -0
  12. data/app/assets/javascripts/moment/locale/ar-tn.js +58 -0
  13. data/app/assets/javascripts/moment/locale/ar.js +134 -0
  14. data/app/assets/javascripts/moment/locale/az.js +104 -0
  15. data/app/assets/javascripts/moment/locale/be.js +131 -0
  16. data/app/assets/javascripts/moment/locale/bg.js +89 -0
  17. data/app/assets/javascripts/moment/locale/bm.js +57 -0
  18. data/app/assets/javascripts/moment/locale/bn.js +118 -0
  19. data/app/assets/javascripts/moment/locale/bo.js +118 -0
  20. data/app/assets/javascripts/moment/locale/br.js +107 -0
  21. data/app/assets/javascripts/moment/locale/bs.js +150 -0
  22. data/app/assets/javascripts/moment/locale/ca.js +87 -0
  23. data/app/assets/javascripts/moment/locale/cs.js +171 -0
  24. data/app/assets/javascripts/moment/locale/cv.js +62 -0
  25. data/app/assets/javascripts/moment/locale/cy.js +79 -0
  26. data/app/assets/javascripts/moment/locale/da.js +59 -0
  27. data/app/assets/javascripts/moment/locale/de-at.js +75 -0
  28. data/app/assets/javascripts/moment/locale/de-ch.js +75 -0
  29. data/app/assets/javascripts/moment/locale/de.js +75 -0
  30. data/app/assets/javascripts/moment/locale/dv.js +98 -0
  31. data/app/assets/javascripts/moment/locale/el.js +99 -0
  32. data/app/assets/javascripts/moment/locale/en-SG.js +66 -0
  33. data/app/assets/javascripts/moment/locale/en-au.js +66 -0
  34. data/app/assets/javascripts/moment/locale/en-ca.js +62 -0
  35. data/app/assets/javascripts/moment/locale/en-gb.js +66 -0
  36. data/app/assets/javascripts/moment/locale/en-ie.js +66 -0
  37. data/app/assets/javascripts/moment/locale/en-il.js +61 -0
  38. data/app/assets/javascripts/moment/locale/en-nz.js +66 -0
  39. data/app/assets/javascripts/moment/locale/eo.js +70 -0
  40. data/app/assets/javascripts/moment/locale/es-do.js +91 -0
  41. data/app/assets/javascripts/moment/locale/es-us.js +91 -0
  42. data/app/assets/javascripts/moment/locale/es.js +91 -0
  43. data/app/assets/javascripts/moment/locale/et.js +79 -0
  44. data/app/assets/javascripts/moment/locale/eu.js +65 -0
  45. data/app/assets/javascripts/moment/locale/fa.js +105 -0
  46. data/app/assets/javascripts/moment/locale/fi.js +108 -0
  47. data/app/assets/javascripts/moment/locale/fo.js +59 -0
  48. data/app/assets/javascripts/moment/locale/fr-ca.js +73 -0
  49. data/app/assets/javascripts/moment/locale/fr-ch.js +77 -0
  50. data/app/assets/javascripts/moment/locale/fr.js +82 -0
  51. data/app/assets/javascripts/moment/locale/fy.js +74 -0
  52. data/app/assets/javascripts/moment/locale/ga.js +76 -0
  53. data/app/assets/javascripts/moment/locale/gd.js +75 -0
  54. data/app/assets/javascripts/moment/locale/gl.js +76 -0
  55. data/app/assets/javascripts/moment/locale/gom-latn.js +122 -0
  56. data/app/assets/javascripts/moment/locale/gu.js +123 -0
  57. data/app/assets/javascripts/moment/locale/he.js +96 -0
  58. data/app/assets/javascripts/moment/locale/hi.js +123 -0
  59. data/app/assets/javascripts/moment/locale/hr.js +153 -0
  60. data/app/assets/javascripts/moment/locale/hu.js +109 -0
  61. data/app/assets/javascripts/moment/locale/hy-am.js +94 -0
  62. data/app/assets/javascripts/moment/locale/id.js +81 -0
  63. data/app/assets/javascripts/moment/locale/is.js +131 -0
  64. data/app/assets/javascripts/moment/locale/it-ch.js +68 -0
  65. data/app/assets/javascripts/moment/locale/it.js +68 -0
  66. data/app/assets/javascripts/moment/locale/ja.js +91 -0
  67. data/app/assets/javascripts/moment/locale/jv.js +81 -0
  68. data/app/assets/javascripts/moment/locale/ka.js +88 -0
  69. data/app/assets/javascripts/moment/locale/kk.js +86 -0
  70. data/app/assets/javascripts/moment/locale/km.js +109 -0
  71. data/app/assets/javascripts/moment/locale/kn.js +125 -0
  72. data/app/assets/javascripts/moment/locale/ko.js +80 -0
  73. data/app/assets/javascripts/moment/locale/ku.js +118 -0
  74. data/app/assets/javascripts/moment/locale/ky.js +86 -0
  75. data/app/assets/javascripts/moment/locale/lb.js +135 -0
  76. data/app/assets/javascripts/moment/locale/lo.js +69 -0
  77. data/app/assets/javascripts/moment/locale/lt.js +117 -0
  78. data/app/assets/javascripts/moment/locale/lv.js +96 -0
  79. data/app/assets/javascripts/moment/locale/me.js +111 -0
  80. data/app/assets/javascripts/moment/locale/mi.js +63 -0
  81. data/app/assets/javascripts/moment/locale/mk.js +89 -0
  82. data/app/assets/javascripts/moment/locale/ml.js +80 -0
  83. data/app/assets/javascripts/moment/locale/mn.js +103 -0
  84. data/app/assets/javascripts/moment/locale/mr.js +159 -0
  85. data/app/assets/javascripts/moment/locale/ms-my.js +81 -0
  86. data/app/assets/javascripts/moment/locale/ms.js +81 -0
  87. data/app/assets/javascripts/moment/locale/mt.js +59 -0
  88. data/app/assets/javascripts/moment/locale/my.js +92 -0
  89. data/app/assets/javascripts/moment/locale/nb.js +61 -0
  90. data/app/assets/javascripts/moment/locale/ne.js +122 -0
  91. data/app/assets/javascripts/moment/locale/nl-be.js +86 -0
  92. data/app/assets/javascripts/moment/locale/nl.js +86 -0
  93. data/app/assets/javascripts/moment/locale/nn.js +59 -0
  94. data/app/assets/javascripts/moment/locale/pa-in.js +123 -0
  95. data/app/assets/javascripts/moment/locale/pl.js +125 -0
  96. data/app/assets/javascripts/moment/locale/pt-br.js +60 -0
  97. data/app/assets/javascripts/moment/locale/pt.js +64 -0
  98. data/app/assets/javascripts/moment/locale/ro.js +74 -0
  99. data/app/assets/javascripts/moment/locale/ru.js +181 -0
  100. data/app/assets/javascripts/moment/locale/sd.js +97 -0
  101. data/app/assets/javascripts/moment/locale/se.js +59 -0
  102. data/app/assets/javascripts/moment/locale/si.js +70 -0
  103. data/app/assets/javascripts/moment/locale/sk.js +155 -0
  104. data/app/assets/javascripts/moment/locale/sl.js +172 -0
  105. data/app/assets/javascripts/moment/locale/sq.js +67 -0
  106. data/app/assets/javascripts/moment/locale/sr-cyrl.js +110 -0
  107. data/app/assets/javascripts/moment/locale/sr.js +110 -0
  108. data/app/assets/javascripts/moment/locale/ss.js +87 -0
  109. data/app/assets/javascripts/moment/locale/sv.js +68 -0
  110. data/app/assets/javascripts/moment/locale/sw.js +58 -0
  111. data/app/assets/javascripts/moment/locale/ta.js +128 -0
  112. data/app/assets/javascripts/moment/locale/te.js +88 -0
  113. data/app/assets/javascripts/moment/locale/tet.js +66 -0
  114. data/app/assets/javascripts/moment/locale/tg.js +115 -0
  115. data/app/assets/javascripts/moment/locale/th.js +66 -0
  116. data/app/assets/javascripts/moment/locale/tl-ph.js +61 -0
  117. data/app/assets/javascripts/moment/locale/tlh.js +121 -0
  118. data/app/assets/javascripts/moment/locale/tr.js +93 -0
  119. data/app/assets/javascripts/moment/locale/tzl.js +90 -0
  120. data/app/assets/javascripts/moment/locale/tzm-latn.js +57 -0
  121. data/app/assets/javascripts/moment/locale/tzm.js +57 -0
  122. data/app/assets/javascripts/moment/locale/ug-cn.js +118 -0
  123. data/app/assets/javascripts/moment/locale/uk.js +153 -0
  124. data/app/assets/javascripts/moment/locale/ur.js +97 -0
  125. data/app/assets/javascripts/moment/locale/uz-latn.js +57 -0
  126. data/app/assets/javascripts/moment/locale/uz.js +57 -0
  127. data/app/assets/javascripts/moment/locale/vi.js +78 -0
  128. data/app/assets/javascripts/moment/locale/x-pseudo.js +67 -0
  129. data/app/assets/javascripts/moment/locale/yo.js +59 -0
  130. data/app/assets/javascripts/moment/locale/zh-cn.js +109 -0
  131. data/app/assets/javascripts/moment/locale/zh-hk.js +102 -0
  132. data/app/assets/javascripts/moment/locale/zh-tw.js +102 -0
  133. data/app/assets/javascripts/moment/moment.js +4603 -0
  134. data/lib/effective_bootstrap/version.rb +1 -1
  135. metadata +129 -2
  136. data/app/assets/javascripts/effective_datetime/moment.js +0 -4535
@@ -0,0 +1,59 @@
1
+ //! moment.js locale configuration
2
+
3
+ ;(function (global, factory) {
4
+ typeof exports === 'object' && typeof module !== 'undefined'
5
+ && typeof require === 'function' ? factory(require('../moment')) :
6
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
7
+ factory(global.moment)
8
+ }(this, (function (moment) { 'use strict';
9
+
10
+
11
+ var nn = moment.defineLocale('nn', {
12
+ months : 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
13
+ monthsShort : 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),
14
+ weekdays : 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'),
15
+ weekdaysShort : 'sun_mån_tys_ons_tor_fre_lau'.split('_'),
16
+ weekdaysMin : 'su_må_ty_on_to_fr_lø'.split('_'),
17
+ longDateFormat : {
18
+ LT : 'HH:mm',
19
+ LTS : 'HH:mm:ss',
20
+ L : 'DD.MM.YYYY',
21
+ LL : 'D. MMMM YYYY',
22
+ LLL : 'D. MMMM YYYY [kl.] H:mm',
23
+ LLLL : 'dddd D. MMMM YYYY [kl.] HH:mm'
24
+ },
25
+ calendar : {
26
+ sameDay: '[I dag klokka] LT',
27
+ nextDay: '[I morgon klokka] LT',
28
+ nextWeek: 'dddd [klokka] LT',
29
+ lastDay: '[I går klokka] LT',
30
+ lastWeek: '[Føregåande] dddd [klokka] LT',
31
+ sameElse: 'L'
32
+ },
33
+ relativeTime : {
34
+ future : 'om %s',
35
+ past : '%s sidan',
36
+ s : 'nokre sekund',
37
+ ss : '%d sekund',
38
+ m : 'eit minutt',
39
+ mm : '%d minutt',
40
+ h : 'ein time',
41
+ hh : '%d timar',
42
+ d : 'ein dag',
43
+ dd : '%d dagar',
44
+ M : 'ein månad',
45
+ MM : '%d månader',
46
+ y : 'eit år',
47
+ yy : '%d år'
48
+ },
49
+ dayOfMonthOrdinalParse: /\d{1,2}\./,
50
+ ordinal : '%d.',
51
+ week : {
52
+ dow : 1, // Monday is the first day of the week.
53
+ doy : 4 // The week that contains Jan 4th is the first week of the year.
54
+ }
55
+ });
56
+
57
+ return nn;
58
+
59
+ })));
@@ -0,0 +1,123 @@
1
+ //! moment.js locale configuration
2
+
3
+ ;(function (global, factory) {
4
+ typeof exports === 'object' && typeof module !== 'undefined'
5
+ && typeof require === 'function' ? factory(require('../moment')) :
6
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
7
+ factory(global.moment)
8
+ }(this, (function (moment) { 'use strict';
9
+
10
+
11
+ var symbolMap = {
12
+ '1': '੧',
13
+ '2': '੨',
14
+ '3': '੩',
15
+ '4': '੪',
16
+ '5': '੫',
17
+ '6': '੬',
18
+ '7': '੭',
19
+ '8': '੮',
20
+ '9': '੯',
21
+ '0': '੦'
22
+ },
23
+ numberMap = {
24
+ '੧': '1',
25
+ '੨': '2',
26
+ '੩': '3',
27
+ '੪': '4',
28
+ '੫': '5',
29
+ '੬': '6',
30
+ '੭': '7',
31
+ '੮': '8',
32
+ '੯': '9',
33
+ '੦': '0'
34
+ };
35
+
36
+ var paIn = moment.defineLocale('pa-in', {
37
+ // There are months name as per Nanakshahi Calendar but they are not used as rigidly in modern Punjabi.
38
+ months : 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split('_'),
39
+ monthsShort : 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split('_'),
40
+ weekdays : 'ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ'.split('_'),
41
+ weekdaysShort : 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),
42
+ weekdaysMin : 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),
43
+ longDateFormat : {
44
+ LT : 'A h:mm ਵਜੇ',
45
+ LTS : 'A h:mm:ss ਵਜੇ',
46
+ L : 'DD/MM/YYYY',
47
+ LL : 'D MMMM YYYY',
48
+ LLL : 'D MMMM YYYY, A h:mm ਵਜੇ',
49
+ LLLL : 'dddd, D MMMM YYYY, A h:mm ਵਜੇ'
50
+ },
51
+ calendar : {
52
+ sameDay : '[ਅਜ] LT',
53
+ nextDay : '[ਕਲ] LT',
54
+ nextWeek : '[ਅਗਲਾ] dddd, LT',
55
+ lastDay : '[ਕਲ] LT',
56
+ lastWeek : '[ਪਿਛਲੇ] dddd, LT',
57
+ sameElse : 'L'
58
+ },
59
+ relativeTime : {
60
+ future : '%s ਵਿੱਚ',
61
+ past : '%s ਪਿਛਲੇ',
62
+ s : 'ਕੁਝ ਸਕਿੰਟ',
63
+ ss : '%d ਸਕਿੰਟ',
64
+ m : 'ਇਕ ਮਿੰਟ',
65
+ mm : '%d ਮਿੰਟ',
66
+ h : 'ਇੱਕ ਘੰਟਾ',
67
+ hh : '%d ਘੰਟੇ',
68
+ d : 'ਇੱਕ ਦਿਨ',
69
+ dd : '%d ਦਿਨ',
70
+ M : 'ਇੱਕ ਮਹੀਨਾ',
71
+ MM : '%d ਮਹੀਨੇ',
72
+ y : 'ਇੱਕ ਸਾਲ',
73
+ yy : '%d ਸਾਲ'
74
+ },
75
+ preparse: function (string) {
76
+ return string.replace(/[੧੨੩੪੫੬੭੮੯੦]/g, function (match) {
77
+ return numberMap[match];
78
+ });
79
+ },
80
+ postformat: function (string) {
81
+ return string.replace(/\d/g, function (match) {
82
+ return symbolMap[match];
83
+ });
84
+ },
85
+ // Punjabi notation for meridiems are quite fuzzy in practice. While there exists
86
+ // a rigid notion of a 'Pahar' it is not used as rigidly in modern Punjabi.
87
+ meridiemParse: /ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,
88
+ meridiemHour : function (hour, meridiem) {
89
+ if (hour === 12) {
90
+ hour = 0;
91
+ }
92
+ if (meridiem === 'ਰਾਤ') {
93
+ return hour < 4 ? hour : hour + 12;
94
+ } else if (meridiem === 'ਸਵੇਰ') {
95
+ return hour;
96
+ } else if (meridiem === 'ਦੁਪਹਿਰ') {
97
+ return hour >= 10 ? hour : hour + 12;
98
+ } else if (meridiem === 'ਸ਼ਾਮ') {
99
+ return hour + 12;
100
+ }
101
+ },
102
+ meridiem : function (hour, minute, isLower) {
103
+ if (hour < 4) {
104
+ return 'ਰਾਤ';
105
+ } else if (hour < 10) {
106
+ return 'ਸਵੇਰ';
107
+ } else if (hour < 17) {
108
+ return 'ਦੁਪਹਿਰ';
109
+ } else if (hour < 20) {
110
+ return 'ਸ਼ਾਮ';
111
+ } else {
112
+ return 'ਰਾਤ';
113
+ }
114
+ },
115
+ week : {
116
+ dow : 0, // Sunday is the first day of the week.
117
+ doy : 6 // The week that contains Jan 6th is the first week of the year.
118
+ }
119
+ });
120
+
121
+ return paIn;
122
+
123
+ })));
@@ -0,0 +1,125 @@
1
+ //! moment.js locale configuration
2
+
3
+ ;(function (global, factory) {
4
+ typeof exports === 'object' && typeof module !== 'undefined'
5
+ && typeof require === 'function' ? factory(require('../moment')) :
6
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
7
+ factory(global.moment)
8
+ }(this, (function (moment) { 'use strict';
9
+
10
+
11
+ var monthsNominative = 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split('_'),
12
+ monthsSubjective = 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split('_');
13
+ function plural(n) {
14
+ return (n % 10 < 5) && (n % 10 > 1) && ((~~(n / 10) % 10) !== 1);
15
+ }
16
+ function translate(number, withoutSuffix, key) {
17
+ var result = number + ' ';
18
+ switch (key) {
19
+ case 'ss':
20
+ return result + (plural(number) ? 'sekundy' : 'sekund');
21
+ case 'm':
22
+ return withoutSuffix ? 'minuta' : 'minutę';
23
+ case 'mm':
24
+ return result + (plural(number) ? 'minuty' : 'minut');
25
+ case 'h':
26
+ return withoutSuffix ? 'godzina' : 'godzinę';
27
+ case 'hh':
28
+ return result + (plural(number) ? 'godziny' : 'godzin');
29
+ case 'MM':
30
+ return result + (plural(number) ? 'miesiące' : 'miesięcy');
31
+ case 'yy':
32
+ return result + (plural(number) ? 'lata' : 'lat');
33
+ }
34
+ }
35
+
36
+ var pl = moment.defineLocale('pl', {
37
+ months : function (momentToFormat, format) {
38
+ if (!momentToFormat) {
39
+ return monthsNominative;
40
+ } else if (format === '') {
41
+ // Hack: if format empty we know this is used to generate
42
+ // RegExp by moment. Give then back both valid forms of months
43
+ // in RegExp ready format.
44
+ return '(' + monthsSubjective[momentToFormat.month()] + '|' + monthsNominative[momentToFormat.month()] + ')';
45
+ } else if (/D MMMM/.test(format)) {
46
+ return monthsSubjective[momentToFormat.month()];
47
+ } else {
48
+ return monthsNominative[momentToFormat.month()];
49
+ }
50
+ },
51
+ monthsShort : 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'),
52
+ weekdays : 'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split('_'),
53
+ weekdaysShort : 'ndz_pon_wt_śr_czw_pt_sob'.split('_'),
54
+ weekdaysMin : 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'),
55
+ longDateFormat : {
56
+ LT : 'HH:mm',
57
+ LTS : 'HH:mm:ss',
58
+ L : 'DD.MM.YYYY',
59
+ LL : 'D MMMM YYYY',
60
+ LLL : 'D MMMM YYYY HH:mm',
61
+ LLLL : 'dddd, D MMMM YYYY HH:mm'
62
+ },
63
+ calendar : {
64
+ sameDay: '[Dziś o] LT',
65
+ nextDay: '[Jutro o] LT',
66
+ nextWeek: function () {
67
+ switch (this.day()) {
68
+ case 0:
69
+ return '[W niedzielę o] LT';
70
+
71
+ case 2:
72
+ return '[We wtorek o] LT';
73
+
74
+ case 3:
75
+ return '[W środę o] LT';
76
+
77
+ case 6:
78
+ return '[W sobotę o] LT';
79
+
80
+ default:
81
+ return '[W] dddd [o] LT';
82
+ }
83
+ },
84
+ lastDay: '[Wczoraj o] LT',
85
+ lastWeek: function () {
86
+ switch (this.day()) {
87
+ case 0:
88
+ return '[W zeszłą niedzielę o] LT';
89
+ case 3:
90
+ return '[W zeszłą środę o] LT';
91
+ case 6:
92
+ return '[W zeszłą sobotę o] LT';
93
+ default:
94
+ return '[W zeszły] dddd [o] LT';
95
+ }
96
+ },
97
+ sameElse: 'L'
98
+ },
99
+ relativeTime : {
100
+ future : 'za %s',
101
+ past : '%s temu',
102
+ s : 'kilka sekund',
103
+ ss : translate,
104
+ m : translate,
105
+ mm : translate,
106
+ h : translate,
107
+ hh : translate,
108
+ d : '1 dzień',
109
+ dd : '%d dni',
110
+ M : 'miesiąc',
111
+ MM : translate,
112
+ y : 'rok',
113
+ yy : translate
114
+ },
115
+ dayOfMonthOrdinalParse: /\d{1,2}\./,
116
+ ordinal : '%d.',
117
+ week : {
118
+ dow : 1, // Monday is the first day of the week.
119
+ doy : 4 // The week that contains Jan 4th is the first week of the year.
120
+ }
121
+ });
122
+
123
+ return pl;
124
+
125
+ })));
@@ -0,0 +1,60 @@
1
+ //! moment.js locale configuration
2
+
3
+ ;(function (global, factory) {
4
+ typeof exports === 'object' && typeof module !== 'undefined'
5
+ && typeof require === 'function' ? factory(require('../moment')) :
6
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
7
+ factory(global.moment)
8
+ }(this, (function (moment) { 'use strict';
9
+
10
+
11
+ var ptBr = moment.defineLocale('pt-br', {
12
+ months : 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'),
13
+ monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),
14
+ weekdays : 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split('_'),
15
+ weekdaysShort : 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),
16
+ weekdaysMin : 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'),
17
+ weekdaysParseExact : true,
18
+ longDateFormat : {
19
+ LT : 'HH:mm',
20
+ LTS : 'HH:mm:ss',
21
+ L : 'DD/MM/YYYY',
22
+ LL : 'D [de] MMMM [de] YYYY',
23
+ LLL : 'D [de] MMMM [de] YYYY [às] HH:mm',
24
+ LLLL : 'dddd, D [de] MMMM [de] YYYY [às] HH:mm'
25
+ },
26
+ calendar : {
27
+ sameDay: '[Hoje às] LT',
28
+ nextDay: '[Amanhã às] LT',
29
+ nextWeek: 'dddd [às] LT',
30
+ lastDay: '[Ontem às] LT',
31
+ lastWeek: function () {
32
+ return (this.day() === 0 || this.day() === 6) ?
33
+ '[Último] dddd [às] LT' : // Saturday + Sunday
34
+ '[Última] dddd [às] LT'; // Monday - Friday
35
+ },
36
+ sameElse: 'L'
37
+ },
38
+ relativeTime : {
39
+ future : 'em %s',
40
+ past : 'há %s',
41
+ s : 'poucos segundos',
42
+ ss : '%d segundos',
43
+ m : 'um minuto',
44
+ mm : '%d minutos',
45
+ h : 'uma hora',
46
+ hh : '%d horas',
47
+ d : 'um dia',
48
+ dd : '%d dias',
49
+ M : 'um mês',
50
+ MM : '%d meses',
51
+ y : 'um ano',
52
+ yy : '%d anos'
53
+ },
54
+ dayOfMonthOrdinalParse: /\d{1,2}º/,
55
+ ordinal : '%dº'
56
+ });
57
+
58
+ return ptBr;
59
+
60
+ })));
@@ -0,0 +1,64 @@
1
+ //! moment.js locale configuration
2
+
3
+ ;(function (global, factory) {
4
+ typeof exports === 'object' && typeof module !== 'undefined'
5
+ && typeof require === 'function' ? factory(require('../moment')) :
6
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
7
+ factory(global.moment)
8
+ }(this, (function (moment) { 'use strict';
9
+
10
+
11
+ var pt = moment.defineLocale('pt', {
12
+ months : 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'),
13
+ monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),
14
+ weekdays : 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split('_'),
15
+ weekdaysShort : 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),
16
+ weekdaysMin : 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'),
17
+ weekdaysParseExact : true,
18
+ longDateFormat : {
19
+ LT : 'HH:mm',
20
+ LTS : 'HH:mm:ss',
21
+ L : 'DD/MM/YYYY',
22
+ LL : 'D [de] MMMM [de] YYYY',
23
+ LLL : 'D [de] MMMM [de] YYYY HH:mm',
24
+ LLLL : 'dddd, D [de] MMMM [de] YYYY HH:mm'
25
+ },
26
+ calendar : {
27
+ sameDay: '[Hoje às] LT',
28
+ nextDay: '[Amanhã às] LT',
29
+ nextWeek: 'dddd [às] LT',
30
+ lastDay: '[Ontem às] LT',
31
+ lastWeek: function () {
32
+ return (this.day() === 0 || this.day() === 6) ?
33
+ '[Último] dddd [às] LT' : // Saturday + Sunday
34
+ '[Última] dddd [às] LT'; // Monday - Friday
35
+ },
36
+ sameElse: 'L'
37
+ },
38
+ relativeTime : {
39
+ future : 'em %s',
40
+ past : 'há %s',
41
+ s : 'segundos',
42
+ ss : '%d segundos',
43
+ m : 'um minuto',
44
+ mm : '%d minutos',
45
+ h : 'uma hora',
46
+ hh : '%d horas',
47
+ d : 'um dia',
48
+ dd : '%d dias',
49
+ M : 'um mês',
50
+ MM : '%d meses',
51
+ y : 'um ano',
52
+ yy : '%d anos'
53
+ },
54
+ dayOfMonthOrdinalParse: /\d{1,2}º/,
55
+ ordinal : '%dº',
56
+ week : {
57
+ dow : 1, // Monday is the first day of the week.
58
+ doy : 4 // The week that contains Jan 4th is the first week of the year.
59
+ }
60
+ });
61
+
62
+ return pt;
63
+
64
+ })));
@@ -0,0 +1,74 @@
1
+ //! moment.js locale configuration
2
+
3
+ ;(function (global, factory) {
4
+ typeof exports === 'object' && typeof module !== 'undefined'
5
+ && typeof require === 'function' ? factory(require('../moment')) :
6
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
7
+ factory(global.moment)
8
+ }(this, (function (moment) { 'use strict';
9
+
10
+
11
+ function relativeTimeWithPlural(number, withoutSuffix, key) {
12
+ var format = {
13
+ 'ss': 'secunde',
14
+ 'mm': 'minute',
15
+ 'hh': 'ore',
16
+ 'dd': 'zile',
17
+ 'MM': 'luni',
18
+ 'yy': 'ani'
19
+ },
20
+ separator = ' ';
21
+ if (number % 100 >= 20 || (number >= 100 && number % 100 === 0)) {
22
+ separator = ' de ';
23
+ }
24
+ return number + separator + format[key];
25
+ }
26
+
27
+ var ro = moment.defineLocale('ro', {
28
+ months : 'ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie'.split('_'),
29
+ monthsShort : 'ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.'.split('_'),
30
+ monthsParseExact: true,
31
+ weekdays : 'duminică_luni_marți_miercuri_joi_vineri_sâmbătă'.split('_'),
32
+ weekdaysShort : 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'),
33
+ weekdaysMin : 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'),
34
+ longDateFormat : {
35
+ LT : 'H:mm',
36
+ LTS : 'H:mm:ss',
37
+ L : 'DD.MM.YYYY',
38
+ LL : 'D MMMM YYYY',
39
+ LLL : 'D MMMM YYYY H:mm',
40
+ LLLL : 'dddd, D MMMM YYYY H:mm'
41
+ },
42
+ calendar : {
43
+ sameDay: '[azi la] LT',
44
+ nextDay: '[mâine la] LT',
45
+ nextWeek: 'dddd [la] LT',
46
+ lastDay: '[ieri la] LT',
47
+ lastWeek: '[fosta] dddd [la] LT',
48
+ sameElse: 'L'
49
+ },
50
+ relativeTime : {
51
+ future : 'peste %s',
52
+ past : '%s în urmă',
53
+ s : 'câteva secunde',
54
+ ss : relativeTimeWithPlural,
55
+ m : 'un minut',
56
+ mm : relativeTimeWithPlural,
57
+ h : 'o oră',
58
+ hh : relativeTimeWithPlural,
59
+ d : 'o zi',
60
+ dd : relativeTimeWithPlural,
61
+ M : 'o lună',
62
+ MM : relativeTimeWithPlural,
63
+ y : 'un an',
64
+ yy : relativeTimeWithPlural
65
+ },
66
+ week : {
67
+ dow : 1, // Monday is the first day of the week.
68
+ doy : 7 // The week that contains Jan 7th is the first week of the year.
69
+ }
70
+ });
71
+
72
+ return ro;
73
+
74
+ })));