effective_bootstrap 0.4.8 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
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,94 @@
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 hyAm = moment.defineLocale('hy-am', {
12
+ months : {
13
+ format: 'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'.split('_'),
14
+ standalone: 'հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր'.split('_')
15
+ },
16
+ monthsShort : 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_'),
17
+ weekdays : 'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split('_'),
18
+ weekdaysShort : 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),
19
+ weekdaysMin : 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.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 թ., HH:mm',
26
+ LLLL : 'dddd, D MMMM YYYY թ., HH:mm'
27
+ },
28
+ calendar : {
29
+ sameDay: '[այսօր] LT',
30
+ nextDay: '[վաղը] LT',
31
+ lastDay: '[երեկ] LT',
32
+ nextWeek: function () {
33
+ return 'dddd [օրը ժամը] LT';
34
+ },
35
+ lastWeek: function () {
36
+ return '[անցած] dddd [օրը ժամը] LT';
37
+ },
38
+ sameElse: 'L'
39
+ },
40
+ relativeTime : {
41
+ future : '%s հետո',
42
+ past : '%s առաջ',
43
+ s : 'մի քանի վայրկյան',
44
+ ss : '%d վայրկյան',
45
+ m : 'րոպե',
46
+ mm : '%d րոպե',
47
+ h : 'ժամ',
48
+ hh : '%d ժամ',
49
+ d : 'օր',
50
+ dd : '%d օր',
51
+ M : 'ամիս',
52
+ MM : '%d ամիս',
53
+ y : 'տարի',
54
+ yy : '%d տարի'
55
+ },
56
+ meridiemParse: /գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,
57
+ isPM: function (input) {
58
+ return /^(ցերեկվա|երեկոյան)$/.test(input);
59
+ },
60
+ meridiem : function (hour) {
61
+ if (hour < 4) {
62
+ return 'գիշերվա';
63
+ } else if (hour < 12) {
64
+ return 'առավոտվա';
65
+ } else if (hour < 17) {
66
+ return 'ցերեկվա';
67
+ } else {
68
+ return 'երեկոյան';
69
+ }
70
+ },
71
+ dayOfMonthOrdinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/,
72
+ ordinal: function (number, period) {
73
+ switch (period) {
74
+ case 'DDD':
75
+ case 'w':
76
+ case 'W':
77
+ case 'DDDo':
78
+ if (number === 1) {
79
+ return number + '-ին';
80
+ }
81
+ return number + '-րդ';
82
+ default:
83
+ return number;
84
+ }
85
+ },
86
+ week : {
87
+ dow : 1, // Monday is the first day of the week.
88
+ doy : 7 // The week that contains Jan 7th is the first week of the year.
89
+ }
90
+ });
91
+
92
+ return hyAm;
93
+
94
+ })));
@@ -0,0 +1,81 @@
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 id = moment.defineLocale('id', {
12
+ months : 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split('_'),
13
+ monthsShort : 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des'.split('_'),
14
+ weekdays : 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'),
15
+ weekdaysShort : 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'),
16
+ weekdaysMin : 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.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 [pukul] HH.mm',
23
+ LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm'
24
+ },
25
+ meridiemParse: /pagi|siang|sore|malam/,
26
+ meridiemHour : function (hour, meridiem) {
27
+ if (hour === 12) {
28
+ hour = 0;
29
+ }
30
+ if (meridiem === 'pagi') {
31
+ return hour;
32
+ } else if (meridiem === 'siang') {
33
+ return hour >= 11 ? hour : hour + 12;
34
+ } else if (meridiem === 'sore' || meridiem === 'malam') {
35
+ return hour + 12;
36
+ }
37
+ },
38
+ meridiem : function (hours, minutes, isLower) {
39
+ if (hours < 11) {
40
+ return 'pagi';
41
+ } else if (hours < 15) {
42
+ return 'siang';
43
+ } else if (hours < 19) {
44
+ return 'sore';
45
+ } else {
46
+ return 'malam';
47
+ }
48
+ },
49
+ calendar : {
50
+ sameDay : '[Hari ini pukul] LT',
51
+ nextDay : '[Besok pukul] LT',
52
+ nextWeek : 'dddd [pukul] LT',
53
+ lastDay : '[Kemarin pukul] LT',
54
+ lastWeek : 'dddd [lalu pukul] LT',
55
+ sameElse : 'L'
56
+ },
57
+ relativeTime : {
58
+ future : 'dalam %s',
59
+ past : '%s yang lalu',
60
+ s : 'beberapa detik',
61
+ ss : '%d detik',
62
+ m : 'semenit',
63
+ mm : '%d menit',
64
+ h : 'sejam',
65
+ hh : '%d jam',
66
+ d : 'sehari',
67
+ dd : '%d hari',
68
+ M : 'sebulan',
69
+ MM : '%d bulan',
70
+ y : 'setahun',
71
+ yy : '%d tahun'
72
+ },
73
+ week : {
74
+ dow : 1, // Monday is the first day of the week.
75
+ doy : 7 // The week that contains Jan 7th is the first week of the year.
76
+ }
77
+ });
78
+
79
+ return id;
80
+
81
+ })));
@@ -0,0 +1,131 @@
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 plural(n) {
12
+ if (n % 100 === 11) {
13
+ return true;
14
+ } else if (n % 10 === 1) {
15
+ return false;
16
+ }
17
+ return true;
18
+ }
19
+ function translate(number, withoutSuffix, key, isFuture) {
20
+ var result = number + ' ';
21
+ switch (key) {
22
+ case 's':
23
+ return withoutSuffix || isFuture ? 'nokkrar sekúndur' : 'nokkrum sekúndum';
24
+ case 'ss':
25
+ if (plural(number)) {
26
+ return result + (withoutSuffix || isFuture ? 'sekúndur' : 'sekúndum');
27
+ }
28
+ return result + 'sekúnda';
29
+ case 'm':
30
+ return withoutSuffix ? 'mínúta' : 'mínútu';
31
+ case 'mm':
32
+ if (plural(number)) {
33
+ return result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum');
34
+ } else if (withoutSuffix) {
35
+ return result + 'mínúta';
36
+ }
37
+ return result + 'mínútu';
38
+ case 'hh':
39
+ if (plural(number)) {
40
+ return result + (withoutSuffix || isFuture ? 'klukkustundir' : 'klukkustundum');
41
+ }
42
+ return result + 'klukkustund';
43
+ case 'd':
44
+ if (withoutSuffix) {
45
+ return 'dagur';
46
+ }
47
+ return isFuture ? 'dag' : 'degi';
48
+ case 'dd':
49
+ if (plural(number)) {
50
+ if (withoutSuffix) {
51
+ return result + 'dagar';
52
+ }
53
+ return result + (isFuture ? 'daga' : 'dögum');
54
+ } else if (withoutSuffix) {
55
+ return result + 'dagur';
56
+ }
57
+ return result + (isFuture ? 'dag' : 'degi');
58
+ case 'M':
59
+ if (withoutSuffix) {
60
+ return 'mánuður';
61
+ }
62
+ return isFuture ? 'mánuð' : 'mánuði';
63
+ case 'MM':
64
+ if (plural(number)) {
65
+ if (withoutSuffix) {
66
+ return result + 'mánuðir';
67
+ }
68
+ return result + (isFuture ? 'mánuði' : 'mánuðum');
69
+ } else if (withoutSuffix) {
70
+ return result + 'mánuður';
71
+ }
72
+ return result + (isFuture ? 'mánuð' : 'mánuði');
73
+ case 'y':
74
+ return withoutSuffix || isFuture ? 'ár' : 'ári';
75
+ case 'yy':
76
+ if (plural(number)) {
77
+ return result + (withoutSuffix || isFuture ? 'ár' : 'árum');
78
+ }
79
+ return result + (withoutSuffix || isFuture ? 'ár' : 'ári');
80
+ }
81
+ }
82
+
83
+ var is = moment.defineLocale('is', {
84
+ months : 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split('_'),
85
+ monthsShort : 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'),
86
+ weekdays : 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split('_'),
87
+ weekdaysShort : 'sun_mán_þri_mið_fim_fös_lau'.split('_'),
88
+ weekdaysMin : 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'),
89
+ longDateFormat : {
90
+ LT : 'H:mm',
91
+ LTS : 'H:mm:ss',
92
+ L : 'DD.MM.YYYY',
93
+ LL : 'D. MMMM YYYY',
94
+ LLL : 'D. MMMM YYYY [kl.] H:mm',
95
+ LLLL : 'dddd, D. MMMM YYYY [kl.] H:mm'
96
+ },
97
+ calendar : {
98
+ sameDay : '[í dag kl.] LT',
99
+ nextDay : '[á morgun kl.] LT',
100
+ nextWeek : 'dddd [kl.] LT',
101
+ lastDay : '[í gær kl.] LT',
102
+ lastWeek : '[síðasta] dddd [kl.] LT',
103
+ sameElse : 'L'
104
+ },
105
+ relativeTime : {
106
+ future : 'eftir %s',
107
+ past : 'fyrir %s síðan',
108
+ s : translate,
109
+ ss : translate,
110
+ m : translate,
111
+ mm : translate,
112
+ h : 'klukkustund',
113
+ hh : translate,
114
+ d : translate,
115
+ dd : translate,
116
+ M : translate,
117
+ MM : translate,
118
+ y : translate,
119
+ yy : translate
120
+ },
121
+ dayOfMonthOrdinalParse: /\d{1,2}\./,
122
+ ordinal : '%d.',
123
+ week : {
124
+ dow : 1, // Monday is the first day of the week.
125
+ doy : 4 // The week that contains Jan 4th is the first week of the year.
126
+ }
127
+ });
128
+
129
+ return is;
130
+
131
+ })));
@@ -0,0 +1,68 @@
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 itCh = moment.defineLocale('it-ch', {
12
+ months : 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split('_'),
13
+ monthsShort : 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
14
+ weekdays : 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split('_'),
15
+ weekdaysShort : 'dom_lun_mar_mer_gio_ven_sab'.split('_'),
16
+ weekdaysMin : 'do_lu_ma_me_gi_ve_sa'.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 HH:mm',
23
+ LLLL : 'dddd D MMMM YYYY HH:mm'
24
+ },
25
+ calendar : {
26
+ sameDay: '[Oggi alle] LT',
27
+ nextDay: '[Domani alle] LT',
28
+ nextWeek: 'dddd [alle] LT',
29
+ lastDay: '[Ieri alle] LT',
30
+ lastWeek: function () {
31
+ switch (this.day()) {
32
+ case 0:
33
+ return '[la scorsa] dddd [alle] LT';
34
+ default:
35
+ return '[lo scorso] dddd [alle] LT';
36
+ }
37
+ },
38
+ sameElse: 'L'
39
+ },
40
+ relativeTime : {
41
+ future : function (s) {
42
+ return ((/^[0-9].+$/).test(s) ? 'tra' : 'in') + ' ' + s;
43
+ },
44
+ past : '%s fa',
45
+ s : 'alcuni secondi',
46
+ ss : '%d secondi',
47
+ m : 'un minuto',
48
+ mm : '%d minuti',
49
+ h : 'un\'ora',
50
+ hh : '%d ore',
51
+ d : 'un giorno',
52
+ dd : '%d giorni',
53
+ M : 'un mese',
54
+ MM : '%d mesi',
55
+ y : 'un anno',
56
+ yy : '%d anni'
57
+ },
58
+ dayOfMonthOrdinalParse : /\d{1,2}º/,
59
+ ordinal: '%dº',
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 itCh;
67
+
68
+ })));
@@ -0,0 +1,68 @@
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 it = moment.defineLocale('it', {
12
+ months : 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split('_'),
13
+ monthsShort : 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
14
+ weekdays : 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split('_'),
15
+ weekdaysShort : 'dom_lun_mar_mer_gio_ven_sab'.split('_'),
16
+ weekdaysMin : 'do_lu_ma_me_gi_ve_sa'.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 HH:mm',
23
+ LLLL : 'dddd D MMMM YYYY HH:mm'
24
+ },
25
+ calendar : {
26
+ sameDay: '[Oggi alle] LT',
27
+ nextDay: '[Domani alle] LT',
28
+ nextWeek: 'dddd [alle] LT',
29
+ lastDay: '[Ieri alle] LT',
30
+ lastWeek: function () {
31
+ switch (this.day()) {
32
+ case 0:
33
+ return '[la scorsa] dddd [alle] LT';
34
+ default:
35
+ return '[lo scorso] dddd [alle] LT';
36
+ }
37
+ },
38
+ sameElse: 'L'
39
+ },
40
+ relativeTime : {
41
+ future : function (s) {
42
+ return ((/^[0-9].+$/).test(s) ? 'tra' : 'in') + ' ' + s;
43
+ },
44
+ past : '%s fa',
45
+ s : 'alcuni secondi',
46
+ ss : '%d secondi',
47
+ m : 'un minuto',
48
+ mm : '%d minuti',
49
+ h : 'un\'ora',
50
+ hh : '%d ore',
51
+ d : 'un giorno',
52
+ dd : '%d giorni',
53
+ M : 'un mese',
54
+ MM : '%d mesi',
55
+ y : 'un anno',
56
+ yy : '%d anni'
57
+ },
58
+ dayOfMonthOrdinalParse : /\d{1,2}º/,
59
+ ordinal: '%dº',
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 it;
67
+
68
+ })));
@@ -0,0 +1,91 @@
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 ja = moment.defineLocale('ja', {
12
+ months : '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'),
13
+ monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
14
+ weekdays : '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'),
15
+ weekdaysShort : '日_月_火_水_木_金_土'.split('_'),
16
+ weekdaysMin : '日_月_火_水_木_金_土'.split('_'),
17
+ longDateFormat : {
18
+ LT : 'HH:mm',
19
+ LTS : 'HH:mm:ss',
20
+ L : 'YYYY/MM/DD',
21
+ LL : 'YYYY年M月D日',
22
+ LLL : 'YYYY年M月D日 HH:mm',
23
+ LLLL : 'YYYY年M月D日 dddd HH:mm',
24
+ l : 'YYYY/MM/DD',
25
+ ll : 'YYYY年M月D日',
26
+ lll : 'YYYY年M月D日 HH:mm',
27
+ llll : 'YYYY年M月D日(ddd) HH:mm'
28
+ },
29
+ meridiemParse: /午前|午後/i,
30
+ isPM : function (input) {
31
+ return input === '午後';
32
+ },
33
+ meridiem : function (hour, minute, isLower) {
34
+ if (hour < 12) {
35
+ return '午前';
36
+ } else {
37
+ return '午後';
38
+ }
39
+ },
40
+ calendar : {
41
+ sameDay : '[今日] LT',
42
+ nextDay : '[明日] LT',
43
+ nextWeek : function (now) {
44
+ if (now.week() < this.week()) {
45
+ return '[来週]dddd LT';
46
+ } else {
47
+ return 'dddd LT';
48
+ }
49
+ },
50
+ lastDay : '[昨日] LT',
51
+ lastWeek : function (now) {
52
+ if (this.week() < now.week()) {
53
+ return '[先週]dddd LT';
54
+ } else {
55
+ return 'dddd LT';
56
+ }
57
+ },
58
+ sameElse : 'L'
59
+ },
60
+ dayOfMonthOrdinalParse : /\d{1,2}日/,
61
+ ordinal : function (number, period) {
62
+ switch (period) {
63
+ case 'd':
64
+ case 'D':
65
+ case 'DDD':
66
+ return number + '日';
67
+ default:
68
+ return number;
69
+ }
70
+ },
71
+ relativeTime : {
72
+ future : '%s後',
73
+ past : '%s前',
74
+ s : '数秒',
75
+ ss : '%d秒',
76
+ m : '1分',
77
+ mm : '%d分',
78
+ h : '1時間',
79
+ hh : '%d時間',
80
+ d : '1日',
81
+ dd : '%d日',
82
+ M : '1ヶ月',
83
+ MM : '%dヶ月',
84
+ y : '1年',
85
+ yy : '%d年'
86
+ }
87
+ });
88
+
89
+ return ja;
90
+
91
+ })));