momentjs-rails 2.8.1 → 2.8.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/news.md +3 -0
  4. data/test/integration/navigation_test.rb +1 -1
  5. data/vendor/assets/javascripts/moment.js +29 -22
  6. data/vendor/assets/javascripts/moment/af.js +23 -23
  7. data/vendor/assets/javascripts/moment/ar-ma.js +24 -24
  8. data/vendor/assets/javascripts/moment/ar-sa.js +26 -26
  9. data/vendor/assets/javascripts/moment/ar.js +26 -26
  10. data/vendor/assets/javascripts/moment/az.js +46 -46
  11. data/vendor/assets/javascripts/moment/be.js +17 -17
  12. data/vendor/assets/javascripts/moment/bg.js +23 -23
  13. data/vendor/assets/javascripts/moment/bn.js +28 -28
  14. data/vendor/assets/javascripts/moment/bo.js +28 -28
  15. data/vendor/assets/javascripts/moment/br.js +22 -22
  16. data/vendor/assets/javascripts/moment/bs.js +17 -17
  17. data/vendor/assets/javascripts/moment/ca.js +23 -23
  18. data/vendor/assets/javascripts/moment/cs.js +15 -15
  19. data/vendor/assets/javascripts/moment/cv.js +23 -23
  20. data/vendor/assets/javascripts/moment/cy.js +24 -24
  21. data/vendor/assets/javascripts/moment/da.js +23 -23
  22. data/vendor/assets/javascripts/moment/de-at.js +17 -17
  23. data/vendor/assets/javascripts/moment/de.js +17 -17
  24. data/vendor/assets/javascripts/moment/el.js +30 -26
  25. data/vendor/assets/javascripts/moment/en-au.js +23 -23
  26. data/vendor/assets/javascripts/moment/en-ca.js +23 -23
  27. data/vendor/assets/javascripts/moment/en-gb.js +23 -23
  28. data/vendor/assets/javascripts/moment/eo.js +24 -24
  29. data/vendor/assets/javascripts/moment/es.js +24 -24
  30. data/vendor/assets/javascripts/moment/et.js +12 -12
  31. data/vendor/assets/javascripts/moment/eu.js +27 -27
  32. data/vendor/assets/javascripts/moment/fa.js +3 -3
  33. data/vendor/assets/javascripts/moment/fi.js +19 -19
  34. data/vendor/assets/javascripts/moment/fo.js +23 -23
  35. data/vendor/assets/javascripts/moment/fr-ca.js +24 -24
  36. data/vendor/assets/javascripts/moment/fr.js +24 -24
  37. data/vendor/assets/javascripts/moment/gl.js +25 -25
  38. data/vendor/assets/javascripts/moment/he.js +31 -31
  39. data/vendor/assets/javascripts/moment/hi.js +28 -28
  40. data/vendor/assets/javascripts/moment/hr.js +17 -17
  41. data/vendor/assets/javascripts/moment/hu.js +12 -12
  42. data/vendor/assets/javascripts/moment/hy-am.js +24 -24
  43. data/vendor/assets/javascripts/moment/id.js +23 -23
  44. data/vendor/assets/javascripts/moment/is.js +14 -14
  45. data/vendor/assets/javascripts/moment/it.js +23 -23
  46. data/vendor/assets/javascripts/moment/ja.js +25 -25
  47. data/vendor/assets/javascripts/moment/ka.js +26 -26
  48. data/vendor/assets/javascripts/moment/km.js +23 -23
  49. data/vendor/assets/javascripts/moment/ko.js +25 -25
  50. data/vendor/assets/javascripts/moment/lb.js +28 -28
  51. data/vendor/assets/javascripts/moment/lt.js +38 -38
  52. data/vendor/assets/javascripts/moment/lv.js +18 -18
  53. data/vendor/assets/javascripts/moment/mk.js +23 -23
  54. data/vendor/assets/javascripts/moment/ml.js +28 -28
  55. data/vendor/assets/javascripts/moment/mr.js +28 -28
  56. data/vendor/assets/javascripts/moment/ms-my.js +23 -23
  57. data/vendor/assets/javascripts/moment/my.js +23 -23
  58. data/vendor/assets/javascripts/moment/nb.js +23 -23
  59. data/vendor/assets/javascripts/moment/ne.js +29 -29
  60. data/vendor/assets/javascripts/moment/nl.js +24 -24
  61. data/vendor/assets/javascripts/moment/nn.js +23 -23
  62. data/vendor/assets/javascripts/moment/pl.js +18 -18
  63. data/vendor/assets/javascripts/moment/pt-br.js +23 -23
  64. data/vendor/assets/javascripts/moment/pt.js +23 -23
  65. data/vendor/assets/javascripts/moment/ro.js +19 -19
  66. data/vendor/assets/javascripts/moment/ru.js +18 -18
  67. data/vendor/assets/javascripts/moment/sk.js +15 -15
  68. data/vendor/assets/javascripts/moment/sl.js +17 -17
  69. data/vendor/assets/javascripts/moment/sq.js +23 -23
  70. data/vendor/assets/javascripts/moment/sr-cyrl.js +11 -11
  71. data/vendor/assets/javascripts/moment/sr.js +11 -11
  72. data/vendor/assets/javascripts/moment/sv.js +23 -23
  73. data/vendor/assets/javascripts/moment/ta.js +29 -29
  74. data/vendor/assets/javascripts/moment/th.js +25 -25
  75. data/vendor/assets/javascripts/moment/tl-ph.js +24 -24
  76. data/vendor/assets/javascripts/moment/tr.js +42 -42
  77. data/vendor/assets/javascripts/moment/tzm-latn.js +24 -24
  78. data/vendor/assets/javascripts/moment/tzm.js +24 -24
  79. data/vendor/assets/javascripts/moment/uk.js +19 -19
  80. data/vendor/assets/javascripts/moment/uz.js +24 -24
  81. data/vendor/assets/javascripts/moment/vi.js +28 -28
  82. data/vendor/assets/javascripts/moment/zh-cn.js +48 -48
  83. data/vendor/assets/javascripts/moment/zh-tw.js +41 -41
  84. metadata +2 -2
@@ -14,7 +14,7 @@
14
14
  }
15
15
  }(function (moment) {
16
16
  function translate(number, withoutSuffix, key) {
17
- var result = number + " ";
17
+ var result = number + ' ';
18
18
  switch (key) {
19
19
  case 'm':
20
20
  return withoutSuffix ? 'jedna minuta' : 'jedne minute';
@@ -67,17 +67,17 @@
67
67
  }
68
68
 
69
69
  return moment.defineLocale('hr', {
70
- months : "sječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_"),
71
- monthsShort : "sje._vel._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),
72
- weekdays : "nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),
73
- weekdaysShort : "ned._pon._uto._sri._čet._pet._sub.".split("_"),
74
- weekdaysMin : "ne_po_ut_sr_če_pe_su".split("_"),
70
+ months : 'sječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split('_'),
71
+ monthsShort : 'sje._vel._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split('_'),
72
+ weekdays : 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'),
73
+ weekdaysShort : 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
74
+ weekdaysMin : 'ne_po_ut_sr_če_pe_su'.split('_'),
75
75
  longDateFormat : {
76
- LT : "H:mm",
77
- L : "DD. MM. YYYY",
78
- LL : "D. MMMM YYYY",
79
- LLL : "D. MMMM YYYY LT",
80
- LLLL : "dddd, D. MMMM YYYY LT"
76
+ LT : 'H:mm',
77
+ L : 'DD. MM. YYYY',
78
+ LL : 'D. MMMM YYYY',
79
+ LLL : 'D. MMMM YYYY LT',
80
+ LLLL : 'dddd, D. MMMM YYYY LT'
81
81
  },
82
82
  calendar : {
83
83
  sameDay : '[danas u] LT',
@@ -116,18 +116,18 @@
116
116
  sameElse : 'L'
117
117
  },
118
118
  relativeTime : {
119
- future : "za %s",
120
- past : "prije %s",
121
- s : "par sekundi",
119
+ future : 'za %s',
120
+ past : 'prije %s',
121
+ s : 'par sekundi',
122
122
  m : translate,
123
123
  mm : translate,
124
124
  h : translate,
125
125
  hh : translate,
126
- d : "dan",
126
+ d : 'dan',
127
127
  dd : translate,
128
- M : "mjesec",
128
+ M : 'mjesec',
129
129
  MM : translate,
130
- y : "godinu",
130
+ y : 'godinu',
131
131
  yy : translate
132
132
  },
133
133
  ordinal : '%d.',
@@ -50,17 +50,17 @@
50
50
  }
51
51
 
52
52
  return moment.defineLocale('hu', {
53
- months : "január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),
54
- monthsShort : "jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),
55
- weekdays : "vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),
56
- weekdaysShort : "vas_hét_kedd_sze_csüt_pén_szo".split("_"),
57
- weekdaysMin : "v_h_k_sze_cs_p_szo".split("_"),
53
+ months : 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split('_'),
54
+ monthsShort : 'jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec'.split('_'),
55
+ weekdays : 'vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat'.split('_'),
56
+ weekdaysShort : 'vas_hét_kedd_sze_csüt_pén_szo'.split('_'),
57
+ weekdaysMin : 'v_h_k_sze_cs_p_szo'.split('_'),
58
58
  longDateFormat : {
59
- LT : "H:mm",
60
- L : "YYYY.MM.DD.",
61
- LL : "YYYY. MMMM D.",
62
- LLL : "YYYY. MMMM D., LT",
63
- LLLL : "YYYY. MMMM D., dddd LT"
59
+ LT : 'H:mm',
60
+ L : 'YYYY.MM.DD.',
61
+ LL : 'YYYY. MMMM D.',
62
+ LLL : 'YYYY. MMMM D., LT',
63
+ LLLL : 'YYYY. MMMM D., dddd LT'
64
64
  },
65
65
  meridiem : function (hours, minutes, isLower) {
66
66
  if (hours < 12) {
@@ -82,8 +82,8 @@
82
82
  sameElse : 'L'
83
83
  },
84
84
  relativeTime : {
85
- future : "%s múlva",
86
- past : "%s",
85
+ future : '%s múlva',
86
+ past : '%s',
87
87
  s : translate,
88
88
  m : translate,
89
89
  mm : translate,
@@ -40,14 +40,14 @@
40
40
  months : monthsCaseReplace,
41
41
  monthsShort : monthsShortCaseReplace,
42
42
  weekdays : weekdaysCaseReplace,
43
- weekdaysShort : "կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),
44
- weekdaysMin : "կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),
43
+ weekdaysShort : 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),
44
+ weekdaysMin : 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),
45
45
  longDateFormat : {
46
- LT : "HH:mm",
47
- L : "DD.MM.YYYY",
48
- LL : "D MMMM YYYY թ.",
49
- LLL : "D MMMM YYYY թ., LT",
50
- LLLL : "dddd, D MMMM YYYY թ., LT"
46
+ LT : 'HH:mm',
47
+ L : 'DD.MM.YYYY',
48
+ LL : 'D MMMM YYYY թ.',
49
+ LLL : 'D MMMM YYYY թ., LT',
50
+ LLLL : 'dddd, D MMMM YYYY թ., LT'
51
51
  },
52
52
  calendar : {
53
53
  sameDay: '[այսօր] LT',
@@ -62,30 +62,30 @@
62
62
  sameElse: 'L'
63
63
  },
64
64
  relativeTime : {
65
- future : "%s հետո",
66
- past : "%s առաջ",
67
- s : "մի քանի վայրկյան",
68
- m : "րոպե",
69
- mm : "%d րոպե",
70
- h : "ժամ",
71
- hh : "%d ժամ",
72
- d : "օր",
73
- dd : "%d օր",
74
- M : "ամիս",
75
- MM : "%d ամիս",
76
- y : "տարի",
77
- yy : "%d տարի"
65
+ future : '%s հետո',
66
+ past : '%s առաջ',
67
+ s : 'մի քանի վայրկյան',
68
+ m : 'րոպե',
69
+ mm : '%d րոպե',
70
+ h : 'ժամ',
71
+ hh : '%d ժամ',
72
+ d : 'օր',
73
+ dd : '%d օր',
74
+ M : 'ամիս',
75
+ MM : '%d ամիս',
76
+ y : 'տարի',
77
+ yy : '%d տարի'
78
78
  },
79
79
 
80
80
  meridiem : function (hour) {
81
81
  if (hour < 4) {
82
- return "գիշերվա";
82
+ return 'գիշերվա';
83
83
  } else if (hour < 12) {
84
- return "առավոտվա";
84
+ return 'առավոտվա';
85
85
  } else if (hour < 17) {
86
- return "ցերեկվա";
86
+ return 'ցերեկվա';
87
87
  } else {
88
- return "երեկոյան";
88
+ return 'երեկոյան';
89
89
  }
90
90
  },
91
91
 
@@ -13,17 +13,17 @@
13
13
  }
14
14
  }(function (moment) {
15
15
  return moment.defineLocale('id', {
16
- months : "Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),
17
- monthsShort : "Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),
18
- weekdays : "Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),
19
- weekdaysShort : "Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),
20
- weekdaysMin : "Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),
16
+ months : 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split('_'),
17
+ monthsShort : 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des'.split('_'),
18
+ weekdays : 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'),
19
+ weekdaysShort : 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'),
20
+ weekdaysMin : 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'),
21
21
  longDateFormat : {
22
- LT : "HH.mm",
23
- L : "DD/MM/YYYY",
24
- LL : "D MMMM YYYY",
25
- LLL : "D MMMM YYYY [pukul] LT",
26
- LLLL : "dddd, D MMMM YYYY [pukul] LT"
22
+ LT : 'HH.mm',
23
+ L : 'DD/MM/YYYY',
24
+ LL : 'D MMMM YYYY',
25
+ LLL : 'D MMMM YYYY [pukul] LT',
26
+ LLLL : 'dddd, D MMMM YYYY [pukul] LT'
27
27
  },
28
28
  meridiem : function (hours, minutes, isLower) {
29
29
  if (hours < 11) {
@@ -45,19 +45,19 @@
45
45
  sameElse : 'L'
46
46
  },
47
47
  relativeTime : {
48
- future : "dalam %s",
49
- past : "%s yang lalu",
50
- s : "beberapa detik",
51
- m : "semenit",
52
- mm : "%d menit",
53
- h : "sejam",
54
- hh : "%d jam",
55
- d : "sehari",
56
- dd : "%d hari",
57
- M : "sebulan",
58
- MM : "%d bulan",
59
- y : "setahun",
60
- yy : "%d tahun"
48
+ future : 'dalam %s',
49
+ past : '%s yang lalu',
50
+ s : 'beberapa detik',
51
+ m : 'semenit',
52
+ mm : '%d menit',
53
+ h : 'sejam',
54
+ hh : '%d jam',
55
+ d : 'sehari',
56
+ dd : '%d hari',
57
+ M : 'sebulan',
58
+ MM : '%d bulan',
59
+ y : 'setahun',
60
+ yy : '%d tahun'
61
61
  },
62
62
  week : {
63
63
  dow : 1, // Monday is the first day of the week.
@@ -21,7 +21,7 @@
21
21
  }
22
22
 
23
23
  function translate(number, withoutSuffix, key, isFuture) {
24
- var result = number + " ";
24
+ var result = number + ' ';
25
25
  switch (key) {
26
26
  case 's':
27
27
  return withoutSuffix || isFuture ? 'nokkrar sekúndur' : 'nokkrum sekúndum';
@@ -80,17 +80,17 @@
80
80
  }
81
81
 
82
82
  return moment.defineLocale('is', {
83
- months : "janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),
84
- monthsShort : "jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),
85
- weekdays : "sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),
86
- weekdaysShort : "sun_mán_þri_mið_fim_fös_lau".split("_"),
87
- weekdaysMin : "Su_Má_Þr_Mi_Fi_Fö_La".split("_"),
83
+ months : 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split('_'),
84
+ monthsShort : 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'),
85
+ weekdays : 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split('_'),
86
+ weekdaysShort : 'sun_mán_þri_mið_fim_fös_lau'.split('_'),
87
+ weekdaysMin : 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'),
88
88
  longDateFormat : {
89
- LT : "H:mm",
90
- L : "DD/MM/YYYY",
91
- LL : "D. MMMM YYYY",
92
- LLL : "D. MMMM YYYY [kl.] LT",
93
- LLLL : "dddd, D. MMMM YYYY [kl.] LT"
89
+ LT : 'H:mm',
90
+ L : 'DD/MM/YYYY',
91
+ LL : 'D. MMMM YYYY',
92
+ LLL : 'D. MMMM YYYY [kl.] LT',
93
+ LLLL : 'dddd, D. MMMM YYYY [kl.] LT'
94
94
  },
95
95
  calendar : {
96
96
  sameDay : '[í dag kl.] LT',
@@ -101,12 +101,12 @@
101
101
  sameElse : 'L'
102
102
  },
103
103
  relativeTime : {
104
- future : "eftir %s",
105
- past : "fyrir %s síðan",
104
+ future : 'eftir %s',
105
+ past : 'fyrir %s síðan',
106
106
  s : translate,
107
107
  m : translate,
108
108
  mm : translate,
109
- h : "klukkustund",
109
+ h : 'klukkustund',
110
110
  hh : translate,
111
111
  d : translate,
112
112
  dd : translate,
@@ -13,17 +13,17 @@
13
13
  }
14
14
  }(function (moment) {
15
15
  return moment.defineLocale('it', {
16
- months : "gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),
17
- monthsShort : "gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),
18
- weekdays : "Domenica_Lunedì_Martedì_Mercoledì_Giovedì_Venerdì_Sabato".split("_"),
19
- weekdaysShort : "Dom_Lun_Mar_Mer_Gio_Ven_Sab".split("_"),
20
- weekdaysMin : "D_L_Ma_Me_G_V_S".split("_"),
16
+ months : 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split('_'),
17
+ monthsShort : 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
18
+ weekdays : 'Domenica_Lunedì_Martedì_Mercoledì_Giovedì_Venerdì_Sabato'.split('_'),
19
+ weekdaysShort : 'Dom_Lun_Mar_Mer_Gio_Ven_Sab'.split('_'),
20
+ weekdaysMin : 'D_L_Ma_Me_G_V_S'.split('_'),
21
21
  longDateFormat : {
22
- LT : "HH:mm",
23
- L : "DD/MM/YYYY",
24
- LL : "D MMMM YYYY",
25
- LLL : "D MMMM YYYY LT",
26
- LLLL : "dddd, D MMMM YYYY LT"
22
+ LT : 'HH:mm',
23
+ L : 'DD/MM/YYYY',
24
+ LL : 'D MMMM YYYY',
25
+ LLL : 'D MMMM YYYY LT',
26
+ LLLL : 'dddd, D MMMM YYYY LT'
27
27
  },
28
28
  calendar : {
29
29
  sameDay: '[Oggi alle] LT',
@@ -35,20 +35,20 @@
35
35
  },
36
36
  relativeTime : {
37
37
  future : function (s) {
38
- return ((/^[0-9].+$/).test(s) ? "tra" : "in") + " " + s;
38
+ return ((/^[0-9].+$/).test(s) ? 'tra' : 'in') + ' ' + s;
39
39
  },
40
- past : "%s fa",
41
- s : "alcuni secondi",
42
- m : "un minuto",
43
- mm : "%d minuti",
44
- h : "un'ora",
45
- hh : "%d ore",
46
- d : "un giorno",
47
- dd : "%d giorni",
48
- M : "un mese",
49
- MM : "%d mesi",
50
- y : "un anno",
51
- yy : "%d anni"
40
+ past : '%s fa',
41
+ s : 'alcuni secondi',
42
+ m : 'un minuto',
43
+ mm : '%d minuti',
44
+ h : 'un\'ora',
45
+ hh : '%d ore',
46
+ d : 'un giorno',
47
+ dd : '%d giorni',
48
+ M : 'un mese',
49
+ MM : '%d mesi',
50
+ y : 'un anno',
51
+ yy : '%d anni'
52
52
  },
53
53
  ordinal: '%dº',
54
54
  week : {
@@ -12,23 +12,23 @@
12
12
  }
13
13
  }(function (moment) {
14
14
  return moment.defineLocale('ja', {
15
- months : "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),
16
- monthsShort : "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),
17
- weekdays : "日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),
18
- weekdaysShort : "日_月_火_水_木_金_土".split("_"),
19
- weekdaysMin : "日_月_火_水_木_金_土".split("_"),
15
+ months : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
16
+ monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
17
+ weekdays : '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'),
18
+ weekdaysShort : '日_月_火_水_木_金_土'.split('_'),
19
+ weekdaysMin : '日_月_火_水_木_金_土'.split('_'),
20
20
  longDateFormat : {
21
- LT : "Ah時m分",
22
- L : "YYYY/MM/DD",
23
- LL : "YYYY年M月D日",
24
- LLL : "YYYY年M月D日LT",
25
- LLLL : "YYYY年M月D日LT dddd"
21
+ LT : 'Ah時m分',
22
+ L : 'YYYY/MM/DD',
23
+ LL : 'YYYY年M月D日',
24
+ LLL : 'YYYY年M月D日LT',
25
+ LLLL : 'YYYY年M月D日LT dddd'
26
26
  },
27
27
  meridiem : function (hour, minute, isLower) {
28
28
  if (hour < 12) {
29
- return "午前";
29
+ return '午前';
30
30
  } else {
31
- return "午後";
31
+ return '午後';
32
32
  }
33
33
  },
34
34
  calendar : {
@@ -40,19 +40,19 @@
40
40
  sameElse : 'L'
41
41
  },
42
42
  relativeTime : {
43
- future : "%s後",
44
- past : "%s前",
45
- s : "数秒",
46
- m : "1分",
47
- mm : "%d分",
48
- h : "1時間",
49
- hh : "%d時間",
50
- d : "1日",
51
- dd : "%d日",
52
- M : "1ヶ月",
53
- MM : "%dヶ月",
54
- y : "1年",
55
- yy : "%d年"
43
+ future : '%s後',
44
+ past : '%s前',
45
+ s : '数秒',
46
+ m : '1分',
47
+ mm : '%d分',
48
+ h : '1時間',
49
+ hh : '%d時間',
50
+ d : '1日',
51
+ dd : '%d日',
52
+ M : '1ヶ月',
53
+ MM : '%dヶ月',
54
+ y : '1年',
55
+ yy : '%d年'
56
56
  }
57
57
  });
58
58
  }));
@@ -39,16 +39,16 @@
39
39
 
40
40
  return moment.defineLocale('ka', {
41
41
  months : monthsCaseReplace,
42
- monthsShort : "იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),
42
+ monthsShort : 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'),
43
43
  weekdays : weekdaysCaseReplace,
44
- weekdaysShort : "კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),
45
- weekdaysMin : "კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),
44
+ weekdaysShort : 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'),
45
+ weekdaysMin : 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'),
46
46
  longDateFormat : {
47
- LT : "h:mm A",
48
- L : "DD/MM/YYYY",
49
- LL : "D MMMM YYYY",
50
- LLL : "D MMMM YYYY LT",
51
- LLLL : "dddd, D MMMM YYYY LT"
47
+ LT : 'h:mm A',
48
+ L : 'DD/MM/YYYY',
49
+ LL : 'D MMMM YYYY',
50
+ LLL : 'D MMMM YYYY LT',
51
+ LLLL : 'dddd, D MMMM YYYY LT'
52
52
  },
53
53
  calendar : {
54
54
  sameDay : '[დღეს] LT[-ზე]',
@@ -61,28 +61,28 @@
61
61
  relativeTime : {
62
62
  future : function (s) {
63
63
  return (/(წამი|წუთი|საათი|წელი)/).test(s) ?
64
- s.replace(/ი$/, "ში") :
65
- s + "ში";
64
+ s.replace(/ი$/, 'ში') :
65
+ s + 'ში';
66
66
  },
67
67
  past : function (s) {
68
68
  if ((/(წამი|წუთი|საათი|დღე|თვე)/).test(s)) {
69
- return s.replace(/(ი|ე)$/, "ის წინ");
69
+ return s.replace(/(ი|ე)$/, 'ის წინ');
70
70
  }
71
71
  if ((/წელი/).test(s)) {
72
- return s.replace(/წელი$/, "წლის წინ");
72
+ return s.replace(/წელი$/, 'წლის წინ');
73
73
  }
74
74
  },
75
- s : "რამდენიმე წამი",
76
- m : "წუთი",
77
- mm : "%d წუთი",
78
- h : "საათი",
79
- hh : "%d საათი",
80
- d : "დღე",
81
- dd : "%d დღე",
82
- M : "თვე",
83
- MM : "%d თვე",
84
- y : "წელი",
85
- yy : "%d წელი"
75
+ s : 'რამდენიმე წამი',
76
+ m : 'წუთი',
77
+ mm : '%d წუთი',
78
+ h : 'საათი',
79
+ hh : '%d საათი',
80
+ d : 'დღე',
81
+ dd : '%d დღე',
82
+ M : 'თვე',
83
+ MM : '%d თვე',
84
+ y : 'წელი',
85
+ yy : '%d წელი'
86
86
  },
87
87
  ordinal : function (number) {
88
88
  if (number === 0) {
@@ -90,14 +90,14 @@
90
90
  }
91
91
 
92
92
  if (number === 1) {
93
- return number + "-ლი";
93
+ return number + '-ლი';
94
94
  }
95
95
 
96
96
  if ((number < 20) || (number <= 100 && (number % 20 === 0)) || (number % 100 === 0)) {
97
- return "მე-" + number;
97
+ return 'მე-' + number;
98
98
  }
99
99
 
100
- return number + "-ე";
100
+ return number + '-ე';
101
101
  },
102
102
  week : {
103
103
  dow : 1,