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,97 @@
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 months = [
12
+ 'جنوری',
13
+ 'فروری',
14
+ 'مارچ',
15
+ 'اپریل',
16
+ 'مئی',
17
+ 'جون',
18
+ 'جولائی',
19
+ 'اگست',
20
+ 'ستمبر',
21
+ 'اکتوبر',
22
+ 'نومبر',
23
+ 'دسمبر'
24
+ ];
25
+ var days = [
26
+ 'اتوار',
27
+ 'پیر',
28
+ 'منگل',
29
+ 'بدھ',
30
+ 'جمعرات',
31
+ 'جمعہ',
32
+ 'ہفتہ'
33
+ ];
34
+
35
+ var ur = moment.defineLocale('ur', {
36
+ months : months,
37
+ monthsShort : months,
38
+ weekdays : days,
39
+ weekdaysShort : days,
40
+ weekdaysMin : days,
41
+ longDateFormat : {
42
+ LT : 'HH:mm',
43
+ LTS : 'HH:mm:ss',
44
+ L : 'DD/MM/YYYY',
45
+ LL : 'D MMMM YYYY',
46
+ LLL : 'D MMMM YYYY HH:mm',
47
+ LLLL : 'dddd، D MMMM YYYY HH:mm'
48
+ },
49
+ meridiemParse: /صبح|شام/,
50
+ isPM : function (input) {
51
+ return 'شام' === input;
52
+ },
53
+ meridiem : function (hour, minute, isLower) {
54
+ if (hour < 12) {
55
+ return 'صبح';
56
+ }
57
+ return 'شام';
58
+ },
59
+ calendar : {
60
+ sameDay : '[آج بوقت] LT',
61
+ nextDay : '[کل بوقت] LT',
62
+ nextWeek : 'dddd [بوقت] LT',
63
+ lastDay : '[گذشتہ روز بوقت] LT',
64
+ lastWeek : '[گذشتہ] dddd [بوقت] LT',
65
+ sameElse : 'L'
66
+ },
67
+ relativeTime : {
68
+ future : '%s بعد',
69
+ past : '%s قبل',
70
+ s : 'چند سیکنڈ',
71
+ ss : '%d سیکنڈ',
72
+ m : 'ایک منٹ',
73
+ mm : '%d منٹ',
74
+ h : 'ایک گھنٹہ',
75
+ hh : '%d گھنٹے',
76
+ d : 'ایک دن',
77
+ dd : '%d دن',
78
+ M : 'ایک ماہ',
79
+ MM : '%d ماہ',
80
+ y : 'ایک سال',
81
+ yy : '%d سال'
82
+ },
83
+ preparse: function (string) {
84
+ return string.replace(/،/g, ',');
85
+ },
86
+ postformat: function (string) {
87
+ return string.replace(/,/g, '،');
88
+ },
89
+ week : {
90
+ dow : 1, // Monday is the first day of the week.
91
+ doy : 4 // The week that contains Jan 4th is the first week of the year.
92
+ }
93
+ });
94
+
95
+ return ur;
96
+
97
+ })));
@@ -0,0 +1,57 @@
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 uzLatn = moment.defineLocale('uz-latn', {
12
+ months : 'Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr'.split('_'),
13
+ monthsShort : 'Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek'.split('_'),
14
+ weekdays : 'Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba'.split('_'),
15
+ weekdaysShort : 'Yak_Dush_Sesh_Chor_Pay_Jum_Shan'.split('_'),
16
+ weekdaysMin : 'Ya_Du_Se_Cho_Pa_Ju_Sha'.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 : 'D MMMM YYYY, dddd HH:mm'
24
+ },
25
+ calendar : {
26
+ sameDay : '[Bugun soat] LT [da]',
27
+ nextDay : '[Ertaga] LT [da]',
28
+ nextWeek : 'dddd [kuni soat] LT [da]',
29
+ lastDay : '[Kecha soat] LT [da]',
30
+ lastWeek : '[O\'tgan] dddd [kuni soat] LT [da]',
31
+ sameElse : 'L'
32
+ },
33
+ relativeTime : {
34
+ future : 'Yaqin %s ichida',
35
+ past : 'Bir necha %s oldin',
36
+ s : 'soniya',
37
+ ss : '%d soniya',
38
+ m : 'bir daqiqa',
39
+ mm : '%d daqiqa',
40
+ h : 'bir soat',
41
+ hh : '%d soat',
42
+ d : 'bir kun',
43
+ dd : '%d kun',
44
+ M : 'bir oy',
45
+ MM : '%d oy',
46
+ y : 'bir yil',
47
+ yy : '%d yil'
48
+ },
49
+ week : {
50
+ dow : 1, // Monday is the first day of the week.
51
+ doy : 7 // The week that contains Jan 7th is the first week of the year.
52
+ }
53
+ });
54
+
55
+ return uzLatn;
56
+
57
+ })));
@@ -0,0 +1,57 @@
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 uz = moment.defineLocale('uz', {
12
+ months : 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split('_'),
13
+ monthsShort : 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'),
14
+ weekdays : 'Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба'.split('_'),
15
+ weekdaysShort : 'Якш_Душ_Сеш_Чор_Пай_Жум_Шан'.split('_'),
16
+ weekdaysMin : 'Як_Ду_Се_Чо_Па_Жу_Ша'.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 : 'D MMMM YYYY, dddd HH:mm'
24
+ },
25
+ calendar : {
26
+ sameDay : '[Бугун соат] LT [да]',
27
+ nextDay : '[Эртага] LT [да]',
28
+ nextWeek : 'dddd [куни соат] LT [да]',
29
+ lastDay : '[Кеча соат] LT [да]',
30
+ lastWeek : '[Утган] dddd [куни соат] LT [да]',
31
+ sameElse : 'L'
32
+ },
33
+ relativeTime : {
34
+ future : 'Якин %s ичида',
35
+ past : 'Бир неча %s олдин',
36
+ s : 'фурсат',
37
+ ss : '%d фурсат',
38
+ m : 'бир дакика',
39
+ mm : '%d дакика',
40
+ h : 'бир соат',
41
+ hh : '%d соат',
42
+ d : 'бир кун',
43
+ dd : '%d кун',
44
+ M : 'бир ой',
45
+ MM : '%d ой',
46
+ y : 'бир йил',
47
+ yy : '%d йил'
48
+ },
49
+ week : {
50
+ dow : 1, // Monday is the first day of the week.
51
+ doy : 7 // The week that contains Jan 4th is the first week of the year.
52
+ }
53
+ });
54
+
55
+ return uz;
56
+
57
+ })));
@@ -0,0 +1,78 @@
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 vi = moment.defineLocale('vi', {
12
+ months : 'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split('_'),
13
+ monthsShort : 'Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12'.split('_'),
14
+ monthsParseExact : true,
15
+ weekdays : 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split('_'),
16
+ weekdaysShort : 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
17
+ weekdaysMin : 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
18
+ weekdaysParseExact : true,
19
+ meridiemParse: /sa|ch/i,
20
+ isPM : function (input) {
21
+ return /^ch$/i.test(input);
22
+ },
23
+ meridiem : function (hours, minutes, isLower) {
24
+ if (hours < 12) {
25
+ return isLower ? 'sa' : 'SA';
26
+ } else {
27
+ return isLower ? 'ch' : 'CH';
28
+ }
29
+ },
30
+ longDateFormat : {
31
+ LT : 'HH:mm',
32
+ LTS : 'HH:mm:ss',
33
+ L : 'DD/MM/YYYY',
34
+ LL : 'D MMMM [năm] YYYY',
35
+ LLL : 'D MMMM [năm] YYYY HH:mm',
36
+ LLLL : 'dddd, D MMMM [năm] YYYY HH:mm',
37
+ l : 'DD/M/YYYY',
38
+ ll : 'D MMM YYYY',
39
+ lll : 'D MMM YYYY HH:mm',
40
+ llll : 'ddd, D MMM YYYY HH:mm'
41
+ },
42
+ calendar : {
43
+ sameDay: '[Hôm nay lúc] LT',
44
+ nextDay: '[Ngày mai lúc] LT',
45
+ nextWeek: 'dddd [tuần tới lúc] LT',
46
+ lastDay: '[Hôm qua lúc] LT',
47
+ lastWeek: 'dddd [tuần rồi lúc] LT',
48
+ sameElse: 'L'
49
+ },
50
+ relativeTime : {
51
+ future : '%s tới',
52
+ past : '%s trước',
53
+ s : 'vài giây',
54
+ ss : '%d giây' ,
55
+ m : 'một phút',
56
+ mm : '%d phút',
57
+ h : 'một giờ',
58
+ hh : '%d giờ',
59
+ d : 'một ngày',
60
+ dd : '%d ngày',
61
+ M : 'một tháng',
62
+ MM : '%d tháng',
63
+ y : 'một năm',
64
+ yy : '%d năm'
65
+ },
66
+ dayOfMonthOrdinalParse: /\d{1,2}/,
67
+ ordinal : function (number) {
68
+ return number;
69
+ },
70
+ week : {
71
+ dow : 1, // Monday is the first day of the week.
72
+ doy : 4 // The week that contains Jan 4th is the first week of the year.
73
+ }
74
+ });
75
+
76
+ return vi;
77
+
78
+ })));
@@ -0,0 +1,67 @@
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 xPseudo = moment.defineLocale('x-pseudo', {
12
+ months : 'J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér'.split('_'),
13
+ monthsShort : 'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split('_'),
14
+ monthsParseExact : true,
15
+ weekdays : 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split('_'),
16
+ weekdaysShort : 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'),
17
+ weekdaysMin : 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'),
18
+ weekdaysParseExact : true,
19
+ longDateFormat : {
20
+ LT : 'HH:mm',
21
+ L : 'DD/MM/YYYY',
22
+ LL : 'D MMMM YYYY',
23
+ LLL : 'D MMMM YYYY HH:mm',
24
+ LLLL : 'dddd, D MMMM YYYY HH:mm'
25
+ },
26
+ calendar : {
27
+ sameDay : '[T~ódá~ý át] LT',
28
+ nextDay : '[T~ómó~rró~w át] LT',
29
+ nextWeek : 'dddd [át] LT',
30
+ lastDay : '[Ý~ést~érdá~ý át] LT',
31
+ lastWeek : '[L~ást] dddd [át] LT',
32
+ sameElse : 'L'
33
+ },
34
+ relativeTime : {
35
+ future : 'í~ñ %s',
36
+ past : '%s á~gó',
37
+ s : 'á ~féw ~sécó~ñds',
38
+ ss : '%d s~écóñ~ds',
39
+ m : 'á ~míñ~úté',
40
+ mm : '%d m~íñú~tés',
41
+ h : 'á~ñ hó~úr',
42
+ hh : '%d h~óúrs',
43
+ d : 'á ~dáý',
44
+ dd : '%d d~áýs',
45
+ M : 'á ~móñ~th',
46
+ MM : '%d m~óñt~hs',
47
+ y : 'á ~ýéár',
48
+ yy : '%d ý~éárs'
49
+ },
50
+ dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
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
+
65
+ return xPseudo;
66
+
67
+ })));
@@ -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 yo = moment.defineLocale('yo', {
12
+ months : 'Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀'.split('_'),
13
+ monthsShort : 'Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀'.split('_'),
14
+ weekdays : 'Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta'.split('_'),
15
+ weekdaysShort : 'Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá'.split('_'),
16
+ weekdaysMin : 'Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb'.split('_'),
17
+ longDateFormat : {
18
+ LT : 'h:mm A',
19
+ LTS : 'h:mm:ss A',
20
+ L : 'DD/MM/YYYY',
21
+ LL : 'D MMMM YYYY',
22
+ LLL : 'D MMMM YYYY h:mm A',
23
+ LLLL : 'dddd, D MMMM YYYY h:mm A'
24
+ },
25
+ calendar : {
26
+ sameDay : '[Ònì ni] LT',
27
+ nextDay : '[Ọ̀la ni] LT',
28
+ nextWeek : 'dddd [Ọsẹ̀ tón\'bọ] [ni] LT',
29
+ lastDay : '[Àna ni] LT',
30
+ lastWeek : 'dddd [Ọsẹ̀ tólọ́] [ni] LT',
31
+ sameElse : 'L'
32
+ },
33
+ relativeTime : {
34
+ future : 'ní %s',
35
+ past : '%s kọjá',
36
+ s : 'ìsẹjú aayá die',
37
+ ss :'aayá %d',
38
+ m : 'ìsẹjú kan',
39
+ mm : 'ìsẹjú %d',
40
+ h : 'wákati kan',
41
+ hh : 'wákati %d',
42
+ d : 'ọjọ́ kan',
43
+ dd : 'ọjọ́ %d',
44
+ M : 'osù kan',
45
+ MM : 'osù %d',
46
+ y : 'ọdún kan',
47
+ yy : 'ọdún %d'
48
+ },
49
+ dayOfMonthOrdinalParse : /ọjọ́\s\d{1,2}/,
50
+ ordinal : 'ọjọ́ %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 yo;
58
+
59
+ })));
@@ -0,0 +1,109 @@
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 zhCn = moment.defineLocale('zh-cn', {
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日Ah点mm分',
23
+ LLLL : 'YYYY年M月D日ddddAh点mm分',
24
+ l : 'YYYY/M/D',
25
+ ll : 'YYYY年M月D日',
26
+ lll : 'YYYY年M月D日 HH:mm',
27
+ llll : 'YYYY年M月D日dddd HH:mm'
28
+ },
29
+ meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
30
+ meridiemHour: function (hour, meridiem) {
31
+ if (hour === 12) {
32
+ hour = 0;
33
+ }
34
+ if (meridiem === '凌晨' || meridiem === '早上' ||
35
+ meridiem === '上午') {
36
+ return hour;
37
+ } else if (meridiem === '下午' || meridiem === '晚上') {
38
+ return hour + 12;
39
+ } else {
40
+ // '中午'
41
+ return hour >= 11 ? hour : hour + 12;
42
+ }
43
+ },
44
+ meridiem : function (hour, minute, isLower) {
45
+ var hm = hour * 100 + minute;
46
+ if (hm < 600) {
47
+ return '凌晨';
48
+ } else if (hm < 900) {
49
+ return '早上';
50
+ } else if (hm < 1130) {
51
+ return '上午';
52
+ } else if (hm < 1230) {
53
+ return '中午';
54
+ } else if (hm < 1800) {
55
+ return '下午';
56
+ } else {
57
+ return '晚上';
58
+ }
59
+ },
60
+ calendar : {
61
+ sameDay : '[今天]LT',
62
+ nextDay : '[明天]LT',
63
+ nextWeek : '[下]ddddLT',
64
+ lastDay : '[昨天]LT',
65
+ lastWeek : '[上]ddddLT',
66
+ sameElse : 'L'
67
+ },
68
+ dayOfMonthOrdinalParse: /\d{1,2}(日|月|周)/,
69
+ ordinal : function (number, period) {
70
+ switch (period) {
71
+ case 'd':
72
+ case 'D':
73
+ case 'DDD':
74
+ return number + '日';
75
+ case 'M':
76
+ return number + '月';
77
+ case 'w':
78
+ case 'W':
79
+ return number + '周';
80
+ default:
81
+ return number;
82
+ }
83
+ },
84
+ relativeTime : {
85
+ future : '%s内',
86
+ past : '%s前',
87
+ s : '几秒',
88
+ ss : '%d 秒',
89
+ m : '1 分钟',
90
+ mm : '%d 分钟',
91
+ h : '1 小时',
92
+ hh : '%d 小时',
93
+ d : '1 天',
94
+ dd : '%d 天',
95
+ M : '1 个月',
96
+ MM : '%d 个月',
97
+ y : '1 年',
98
+ yy : '%d 年'
99
+ },
100
+ week : {
101
+ // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
102
+ dow : 1, // Monday is the first day of the week.
103
+ doy : 4 // The week that contains Jan 4th is the first week of the year.
104
+ }
105
+ });
106
+
107
+ return zhCn;
108
+
109
+ })));