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
@@ -12,34 +12,34 @@
12
12
  }
13
13
  }(function (moment) {
14
14
  return moment.defineLocale('zh-tw', {
15
- months : "一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".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 : '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.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點mm",
22
- L : "YYYY年MMMD日",
23
- LL : "YYYY年MMMD日",
24
- LLL : "YYYY年MMMD日LT",
25
- LLLL : "YYYY年MMMD日ddddLT",
26
- l : "YYYY年MMMD日",
27
- ll : "YYYY年MMMD日",
28
- lll : "YYYY年MMMD日LT",
29
- llll : "YYYY年MMMD日ddddLT"
21
+ LT : 'Ah點mm',
22
+ L : 'YYYY年MMMD日',
23
+ LL : 'YYYY年MMMD日',
24
+ LLL : 'YYYY年MMMD日LT',
25
+ LLLL : 'YYYY年MMMD日ddddLT',
26
+ l : 'YYYY年MMMD日',
27
+ ll : 'YYYY年MMMD日',
28
+ lll : 'YYYY年MMMD日LT',
29
+ llll : 'YYYY年MMMD日ddddLT'
30
30
  },
31
31
  meridiem : function (hour, minute, isLower) {
32
32
  var hm = hour * 100 + minute;
33
33
  if (hm < 900) {
34
- return "早上";
34
+ return '早上';
35
35
  } else if (hm < 1130) {
36
- return "上午";
36
+ return '上午';
37
37
  } else if (hm < 1230) {
38
- return "中午";
38
+ return '中午';
39
39
  } else if (hm < 1800) {
40
- return "下午";
40
+ return '下午';
41
41
  } else {
42
- return "晚上";
42
+ return '晚上';
43
43
  }
44
44
  },
45
45
  calendar : {
@@ -52,33 +52,33 @@
52
52
  },
53
53
  ordinal : function (number, period) {
54
54
  switch (period) {
55
- case "d" :
56
- case "D" :
57
- case "DDD" :
58
- return number + "";
59
- case "M" :
60
- return number + "";
61
- case "w" :
62
- case "W" :
63
- return number + "";
55
+ case 'd' :
56
+ case 'D' :
57
+ case 'DDD' :
58
+ return number + '';
59
+ case 'M' :
60
+ return number + '';
61
+ case 'w' :
62
+ case 'W' :
63
+ return number + '';
64
64
  default :
65
65
  return number;
66
66
  }
67
67
  },
68
68
  relativeTime : {
69
- future : "%s內",
70
- past : "%s前",
71
- s : "幾秒",
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年"
69
+ future : '%s內',
70
+ past : '%s前',
71
+ s : '幾秒',
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
82
  }
83
83
  });
84
84
  }));
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: momentjs-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.1
4
+ version: 2.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derek Prior
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-06 00:00:00.000000000 Z
11
+ date: 2014-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties