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,87 @@
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 ss = moment.defineLocale('ss', {
12
+ months : "Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split('_'),
13
+ monthsShort : 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'),
14
+ weekdays : 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split('_'),
15
+ weekdaysShort : 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'),
16
+ weekdaysMin : 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'),
17
+ weekdaysParseExact : true,
18
+ longDateFormat : {
19
+ LT : 'h:mm A',
20
+ LTS : 'h:mm:ss A',
21
+ L : 'DD/MM/YYYY',
22
+ LL : 'D MMMM YYYY',
23
+ LLL : 'D MMMM YYYY h:mm A',
24
+ LLLL : 'dddd, D MMMM YYYY h:mm A'
25
+ },
26
+ calendar : {
27
+ sameDay : '[Namuhla nga] LT',
28
+ nextDay : '[Kusasa nga] LT',
29
+ nextWeek : 'dddd [nga] LT',
30
+ lastDay : '[Itolo nga] LT',
31
+ lastWeek : 'dddd [leliphelile] [nga] LT',
32
+ sameElse : 'L'
33
+ },
34
+ relativeTime : {
35
+ future : 'nga %s',
36
+ past : 'wenteka nga %s',
37
+ s : 'emizuzwana lomcane',
38
+ ss : '%d mzuzwana',
39
+ m : 'umzuzu',
40
+ mm : '%d emizuzu',
41
+ h : 'lihora',
42
+ hh : '%d emahora',
43
+ d : 'lilanga',
44
+ dd : '%d emalanga',
45
+ M : 'inyanga',
46
+ MM : '%d tinyanga',
47
+ y : 'umnyaka',
48
+ yy : '%d iminyaka'
49
+ },
50
+ meridiemParse: /ekuseni|emini|entsambama|ebusuku/,
51
+ meridiem : function (hours, minutes, isLower) {
52
+ if (hours < 11) {
53
+ return 'ekuseni';
54
+ } else if (hours < 15) {
55
+ return 'emini';
56
+ } else if (hours < 19) {
57
+ return 'entsambama';
58
+ } else {
59
+ return 'ebusuku';
60
+ }
61
+ },
62
+ meridiemHour : function (hour, meridiem) {
63
+ if (hour === 12) {
64
+ hour = 0;
65
+ }
66
+ if (meridiem === 'ekuseni') {
67
+ return hour;
68
+ } else if (meridiem === 'emini') {
69
+ return hour >= 11 ? hour : hour + 12;
70
+ } else if (meridiem === 'entsambama' || meridiem === 'ebusuku') {
71
+ if (hour === 0) {
72
+ return 0;
73
+ }
74
+ return hour + 12;
75
+ }
76
+ },
77
+ dayOfMonthOrdinalParse: /\d{1,2}/,
78
+ ordinal : '%d',
79
+ week : {
80
+ dow : 1, // Monday is the first day of the week.
81
+ doy : 4 // The week that contains Jan 4th is the first week of the year.
82
+ }
83
+ });
84
+
85
+ return ss;
86
+
87
+ })));
@@ -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 sv = moment.defineLocale('sv', {
12
+ months : 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split('_'),
13
+ monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
14
+ weekdays : 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'),
15
+ weekdaysShort : 'sön_mån_tis_ons_tor_fre_lör'.split('_'),
16
+ weekdaysMin : 'sö_må_ti_on_to_fr_lö'.split('_'),
17
+ longDateFormat : {
18
+ LT : 'HH:mm',
19
+ LTS : 'HH:mm:ss',
20
+ L : 'YYYY-MM-DD',
21
+ LL : 'D MMMM YYYY',
22
+ LLL : 'D MMMM YYYY [kl.] HH:mm',
23
+ LLLL : 'dddd D MMMM YYYY [kl.] HH:mm',
24
+ lll : 'D MMM YYYY HH:mm',
25
+ llll : 'ddd D MMM YYYY HH:mm'
26
+ },
27
+ calendar : {
28
+ sameDay: '[Idag] LT',
29
+ nextDay: '[Imorgon] LT',
30
+ lastDay: '[Igår] LT',
31
+ nextWeek: '[På] dddd LT',
32
+ lastWeek: '[I] dddd[s] LT',
33
+ sameElse: 'L'
34
+ },
35
+ relativeTime : {
36
+ future : 'om %s',
37
+ past : 'för %s sedan',
38
+ s : 'några sekunder',
39
+ ss : '%d sekunder',
40
+ m : 'en minut',
41
+ mm : '%d minuter',
42
+ h : 'en timme',
43
+ hh : '%d timmar',
44
+ d : 'en dag',
45
+ dd : '%d dagar',
46
+ M : 'en månad',
47
+ MM : '%d månader',
48
+ y : 'ett år',
49
+ yy : '%d år'
50
+ },
51
+ dayOfMonthOrdinalParse: /\d{1,2}(e|a)/,
52
+ ordinal : function (number) {
53
+ var b = number % 10,
54
+ output = (~~(number % 100 / 10) === 1) ? 'e' :
55
+ (b === 1) ? 'a' :
56
+ (b === 2) ? 'a' :
57
+ (b === 3) ? 'e' : 'e';
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 sv;
67
+
68
+ })));
@@ -0,0 +1,58 @@
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 sw = moment.defineLocale('sw', {
12
+ months : 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split('_'),
13
+ monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'),
14
+ weekdays : 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split('_'),
15
+ weekdaysShort : 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'),
16
+ weekdaysMin : 'J2_J3_J4_J5_Al_Ij_J1'.split('_'),
17
+ weekdaysParseExact : true,
18
+ longDateFormat : {
19
+ LT : 'HH:mm',
20
+ LTS : 'HH:mm:ss',
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 : '[leo saa] LT',
28
+ nextDay : '[kesho saa] LT',
29
+ nextWeek : '[wiki ijayo] dddd [saat] LT',
30
+ lastDay : '[jana] LT',
31
+ lastWeek : '[wiki iliyopita] dddd [saat] LT',
32
+ sameElse : 'L'
33
+ },
34
+ relativeTime : {
35
+ future : '%s baadaye',
36
+ past : 'tokea %s',
37
+ s : 'hivi punde',
38
+ ss : 'sekunde %d',
39
+ m : 'dakika moja',
40
+ mm : 'dakika %d',
41
+ h : 'saa limoja',
42
+ hh : 'masaa %d',
43
+ d : 'siku moja',
44
+ dd : 'masiku %d',
45
+ M : 'mwezi mmoja',
46
+ MM : 'miezi %d',
47
+ y : 'mwaka mmoja',
48
+ yy : 'miaka %d'
49
+ },
50
+ week : {
51
+ dow : 1, // Monday is the first day of the week.
52
+ doy : 7 // The week that contains Jan 7th is the first week of the year.
53
+ }
54
+ });
55
+
56
+ return sw;
57
+
58
+ })));
@@ -0,0 +1,128 @@
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
+ }, numberMap = {
23
+ '௧': '1',
24
+ '௨': '2',
25
+ '௩': '3',
26
+ '௪': '4',
27
+ '௫': '5',
28
+ '௬': '6',
29
+ '௭': '7',
30
+ '௮': '8',
31
+ '௯': '9',
32
+ '௦': '0'
33
+ };
34
+
35
+ var ta = moment.defineLocale('ta', {
36
+ months : 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split('_'),
37
+ monthsShort : 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split('_'),
38
+ weekdays : 'ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை'.split('_'),
39
+ weekdaysShort : 'ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி'.split('_'),
40
+ weekdaysMin : 'ஞா_தி_செ_பு_வி_வெ_ச'.split('_'),
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
+ calendar : {
50
+ sameDay : '[இன்று] LT',
51
+ nextDay : '[நாளை] LT',
52
+ nextWeek : 'dddd, LT',
53
+ lastDay : '[நேற்று] LT',
54
+ lastWeek : '[கடந்த வாரம்] dddd, LT',
55
+ sameElse : 'L'
56
+ },
57
+ relativeTime : {
58
+ future : '%s இல்',
59
+ past : '%s முன்',
60
+ s : 'ஒரு சில விநாடிகள்',
61
+ ss : '%d விநாடிகள்',
62
+ m : 'ஒரு நிமிடம்',
63
+ mm : '%d நிமிடங்கள்',
64
+ h : 'ஒரு மணி நேரம்',
65
+ hh : '%d மணி நேரம்',
66
+ d : 'ஒரு நாள்',
67
+ dd : '%d நாட்கள்',
68
+ M : 'ஒரு மாதம்',
69
+ MM : '%d மாதங்கள்',
70
+ y : 'ஒரு வருடம்',
71
+ yy : '%d ஆண்டுகள்'
72
+ },
73
+ dayOfMonthOrdinalParse: /\d{1,2}வது/,
74
+ ordinal : function (number) {
75
+ return number + 'வது';
76
+ },
77
+ preparse: function (string) {
78
+ return string.replace(/[௧௨௩௪௫௬௭௮௯௦]/g, function (match) {
79
+ return numberMap[match];
80
+ });
81
+ },
82
+ postformat: function (string) {
83
+ return string.replace(/\d/g, function (match) {
84
+ return symbolMap[match];
85
+ });
86
+ },
87
+ // refer http://ta.wikipedia.org/s/1er1
88
+ meridiemParse: /யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,
89
+ meridiem : function (hour, minute, isLower) {
90
+ if (hour < 2) {
91
+ return ' யாமம்';
92
+ } else if (hour < 6) {
93
+ return ' வைகறை'; // வைகறை
94
+ } else if (hour < 10) {
95
+ return ' காலை'; // காலை
96
+ } else if (hour < 14) {
97
+ return ' நண்பகல்'; // நண்பகல்
98
+ } else if (hour < 18) {
99
+ return ' எற்பாடு'; // எற்பாடு
100
+ } else if (hour < 22) {
101
+ return ' மாலை'; // மாலை
102
+ } else {
103
+ return ' யாமம்';
104
+ }
105
+ },
106
+ meridiemHour : function (hour, meridiem) {
107
+ if (hour === 12) {
108
+ hour = 0;
109
+ }
110
+ if (meridiem === 'யாமம்') {
111
+ return hour < 2 ? hour : hour + 12;
112
+ } else if (meridiem === 'வைகறை' || meridiem === 'காலை') {
113
+ return hour;
114
+ } else if (meridiem === 'நண்பகல்') {
115
+ return hour >= 10 ? hour : hour + 12;
116
+ } else {
117
+ return hour + 12;
118
+ }
119
+ },
120
+ week : {
121
+ dow : 0, // Sunday is the first day of the week.
122
+ doy : 6 // The week that contains Jan 6th is the first week of the year.
123
+ }
124
+ });
125
+
126
+ return ta;
127
+
128
+ })));
@@ -0,0 +1,88 @@
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 te = moment.defineLocale('te', {
12
+ months : 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split('_'),
13
+ monthsShort : 'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split('_'),
14
+ monthsParseExact : true,
15
+ weekdays : 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split('_'),
16
+ weekdaysShort : 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'),
17
+ weekdaysMin : 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'),
18
+ longDateFormat : {
19
+ LT : 'A h:mm',
20
+ LTS : 'A h:mm:ss',
21
+ L : 'DD/MM/YYYY',
22
+ LL : 'D MMMM YYYY',
23
+ LLL : 'D MMMM YYYY, A h:mm',
24
+ LLLL : 'dddd, D MMMM YYYY, A h:mm'
25
+ },
26
+ calendar : {
27
+ sameDay : '[నేడు] LT',
28
+ nextDay : '[రేపు] LT',
29
+ nextWeek : 'dddd, LT',
30
+ lastDay : '[నిన్న] LT',
31
+ lastWeek : '[గత] dddd, LT',
32
+ sameElse : 'L'
33
+ },
34
+ relativeTime : {
35
+ future : '%s లో',
36
+ past : '%s క్రితం',
37
+ s : 'కొన్ని క్షణాలు',
38
+ ss : '%d సెకన్లు',
39
+ m : 'ఒక నిమిషం',
40
+ mm : '%d నిమిషాలు',
41
+ h : 'ఒక గంట',
42
+ hh : '%d గంటలు',
43
+ d : 'ఒక రోజు',
44
+ dd : '%d రోజులు',
45
+ M : 'ఒక నెల',
46
+ MM : '%d నెలలు',
47
+ y : 'ఒక సంవత్సరం',
48
+ yy : '%d సంవత్సరాలు'
49
+ },
50
+ dayOfMonthOrdinalParse : /\d{1,2}వ/,
51
+ ordinal : '%dవ',
52
+ meridiemParse: /రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,
53
+ meridiemHour : function (hour, meridiem) {
54
+ if (hour === 12) {
55
+ hour = 0;
56
+ }
57
+ if (meridiem === 'రాత్రి') {
58
+ return hour < 4 ? hour : hour + 12;
59
+ } else if (meridiem === 'ఉదయం') {
60
+ return hour;
61
+ } else if (meridiem === 'మధ్యాహ్నం') {
62
+ return hour >= 10 ? hour : hour + 12;
63
+ } else if (meridiem === 'సాయంత్రం') {
64
+ return hour + 12;
65
+ }
66
+ },
67
+ meridiem : function (hour, minute, isLower) {
68
+ if (hour < 4) {
69
+ return 'రాత్రి';
70
+ } else if (hour < 10) {
71
+ return 'ఉదయం';
72
+ } else if (hour < 17) {
73
+ return 'మధ్యాహ్నం';
74
+ } else if (hour < 20) {
75
+ return 'సాయంత్రం';
76
+ } else {
77
+ return 'రాత్రి';
78
+ }
79
+ },
80
+ week : {
81
+ dow : 0, // Sunday is the first day of the week.
82
+ doy : 6 // The week that contains Jan 6th is the first week of the year.
83
+ }
84
+ });
85
+
86
+ return te;
87
+
88
+ })));
@@ -0,0 +1,66 @@
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 tet = moment.defineLocale('tet', {
12
+ months : 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru'.split('_'),
13
+ monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),
14
+ weekdays : 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu'.split('_'),
15
+ weekdaysShort : 'Dom_Seg_Ters_Kua_Kint_Sest_Sab'.split('_'),
16
+ weekdaysMin : 'Do_Seg_Te_Ku_Ki_Ses_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: '[Ohin iha] LT',
27
+ nextDay: '[Aban iha] LT',
28
+ nextWeek: 'dddd [iha] LT',
29
+ lastDay: '[Horiseik iha] LT',
30
+ lastWeek: 'dddd [semana kotuk] [iha] LT',
31
+ sameElse: 'L'
32
+ },
33
+ relativeTime : {
34
+ future : 'iha %s',
35
+ past : '%s liuba',
36
+ s : 'minutu balun',
37
+ ss : 'minutu %d',
38
+ m : 'minutu ida',
39
+ mm : 'minutu %d',
40
+ h : 'oras ida',
41
+ hh : 'oras %d',
42
+ d : 'loron ida',
43
+ dd : 'loron %d',
44
+ M : 'fulan ida',
45
+ MM : 'fulan %d',
46
+ y : 'tinan ida',
47
+ yy : 'tinan %d'
48
+ },
49
+ dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
50
+ ordinal : function (number) {
51
+ var b = number % 10,
52
+ output = (~~(number % 100 / 10) === 1) ? 'th' :
53
+ (b === 1) ? 'st' :
54
+ (b === 2) ? 'nd' :
55
+ (b === 3) ? 'rd' : 'th';
56
+ return number + output;
57
+ },
58
+ week : {
59
+ dow : 1, // Monday is the first day of the week.
60
+ doy : 4 // The week that contains Jan 4th is the first week of the year.
61
+ }
62
+ });
63
+
64
+ return tet;
65
+
66
+ })));