momentjs-rails 2.11.1 → 2.15.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (117) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/news.md +3 -0
  4. data/test/dummy/tmp/cache/assets/D1C/680/sprockets%2F16ed4d5afdb2919596e6f8790e2116c2 +0 -0
  5. data/test/dummy/tmp/cache/assets/D35/CA0/sprockets%2F493e64bce2d302801dc01cf7cd096a58 +0 -0
  6. data/test/dummy/tmp/cache/assets/D3F/5F0/sprockets%2F4a6c53eae7c6e41a69a191578bbb6417 +0 -0
  7. data/test/dummy/tmp/cache/assets/D58/BD0/sprockets%2F4de9ddc9b725c715a54c98697b2528fe +0 -0
  8. data/test/dummy/tmp/cache/assets/D75/510/sprockets%2Fe690787ac522f47a6be024bfcc1767ee +0 -0
  9. data/test/dummy/tmp/cache/assets/E10/250/sprockets%2Fe4badb9ddfda484eb9671bf88567be61 +0 -0
  10. data/test/integration/navigation_test.rb +1 -1
  11. data/vendor/assets/javascripts/moment.js +1517 -889
  12. data/vendor/assets/javascripts/moment/af.js +3 -3
  13. data/vendor/assets/javascripts/moment/ar-ly.js +122 -0
  14. data/vendor/assets/javascripts/moment/ar-ma.js +3 -2
  15. data/vendor/assets/javascripts/moment/ar-sa.js +3 -2
  16. data/vendor/assets/javascripts/moment/ar-tn.js +4 -2
  17. data/vendor/assets/javascripts/moment/ar.js +6 -5
  18. data/vendor/assets/javascripts/moment/az.js +3 -2
  19. data/vendor/assets/javascripts/moment/be.js +21 -21
  20. data/vendor/assets/javascripts/moment/bg.js +11 -11
  21. data/vendor/assets/javascripts/moment/bn.js +18 -12
  22. data/vendor/assets/javascripts/moment/bo.js +13 -4
  23. data/vendor/assets/javascripts/moment/br.js +11 -10
  24. data/vendor/assets/javascripts/moment/bs.js +73 -71
  25. data/vendor/assets/javascripts/moment/ca.js +4 -2
  26. data/vendor/assets/javascripts/moment/cs.js +76 -75
  27. data/vendor/assets/javascripts/moment/cv.js +2 -2
  28. data/vendor/assets/javascripts/moment/cy.js +5 -3
  29. data/vendor/assets/javascripts/moment/da.js +2 -2
  30. data/vendor/assets/javascripts/moment/de-at.js +4 -2
  31. data/vendor/assets/javascripts/moment/de.js +4 -2
  32. data/vendor/assets/javascripts/moment/dv.js +3 -3
  33. data/vendor/assets/javascripts/moment/el.js +2 -2
  34. data/vendor/assets/javascripts/moment/en-au.js +3 -2
  35. data/vendor/assets/javascripts/moment/en-ca.js +5 -5
  36. data/vendor/assets/javascripts/moment/en-gb.js +2 -2
  37. data/vendor/assets/javascripts/moment/en-ie.js +2 -2
  38. data/vendor/assets/javascripts/moment/en-nz.js +3 -2
  39. data/vendor/assets/javascripts/moment/eo.js +2 -2
  40. data/vendor/assets/javascripts/moment/es-do.js +80 -0
  41. data/vendor/assets/javascripts/moment/es.js +4 -2
  42. data/vendor/assets/javascripts/moment/et.js +2 -2
  43. data/vendor/assets/javascripts/moment/eu.js +4 -2
  44. data/vendor/assets/javascripts/moment/fa.js +3 -2
  45. data/vendor/assets/javascripts/moment/fi.js +29 -29
  46. data/vendor/assets/javascripts/moment/fo.js +2 -2
  47. data/vendor/assets/javascripts/moment/fr-ca.js +4 -2
  48. data/vendor/assets/javascripts/moment/fr-ch.js +4 -2
  49. data/vendor/assets/javascripts/moment/fr.js +4 -2
  50. data/vendor/assets/javascripts/moment/fy.js +4 -2
  51. data/vendor/assets/javascripts/moment/gd.js +2 -2
  52. data/vendor/assets/javascripts/moment/gl.js +15 -13
  53. data/vendor/assets/javascripts/moment/he.js +19 -2
  54. data/vendor/assets/javascripts/moment/hi.js +3 -2
  55. data/vendor/assets/javascripts/moment/hr.js +73 -71
  56. data/vendor/assets/javascripts/moment/hu.js +24 -24
  57. data/vendor/assets/javascripts/moment/hy-am.js +12 -12
  58. data/vendor/assets/javascripts/moment/id.js +2 -2
  59. data/vendor/assets/javascripts/moment/is.js +52 -52
  60. data/vendor/assets/javascripts/moment/it.js +2 -2
  61. data/vendor/assets/javascripts/moment/ja.js +13 -2
  62. data/vendor/assets/javascripts/moment/jv.js +2 -2
  63. data/vendor/assets/javascripts/moment/ka.js +2 -2
  64. data/vendor/assets/javascripts/moment/kk.js +7 -7
  65. data/vendor/assets/javascripts/moment/km.js +4 -4
  66. data/vendor/assets/javascripts/moment/ko.js +8 -11
  67. data/vendor/assets/javascripts/moment/ky.js +88 -0
  68. data/vendor/assets/javascripts/moment/lb.js +6 -3
  69. data/vendor/assets/javascripts/moment/lo.js +3 -2
  70. data/vendor/assets/javascripts/moment/lt.js +5 -3
  71. data/vendor/assets/javascripts/moment/lv.js +5 -4
  72. data/vendor/assets/javascripts/moment/me.js +21 -19
  73. data/vendor/assets/javascripts/moment/mi.js +64 -0
  74. data/vendor/assets/javascripts/moment/mk.js +11 -11
  75. data/vendor/assets/javascripts/moment/ml.js +14 -4
  76. data/vendor/assets/javascripts/moment/mr.js +3 -2
  77. data/vendor/assets/javascripts/moment/ms-my.js +3 -2
  78. data/vendor/assets/javascripts/moment/ms.js +2 -2
  79. data/vendor/assets/javascripts/moment/my.js +4 -2
  80. data/vendor/assets/javascripts/moment/nb.js +5 -3
  81. data/vendor/assets/javascripts/moment/ne.js +4 -2
  82. data/vendor/assets/javascripts/moment/nl.js +18 -3
  83. data/vendor/assets/javascripts/moment/nn.js +3 -3
  84. data/vendor/assets/javascripts/moment/pa-in.js +124 -0
  85. data/vendor/assets/javascripts/moment/pl.js +22 -22
  86. data/vendor/assets/javascripts/moment/pt-br.js +4 -3
  87. data/vendor/assets/javascripts/moment/pt.js +3 -2
  88. data/vendor/assets/javascripts/moment/ro.js +3 -2
  89. data/vendor/assets/javascripts/moment/ru.js +59 -42
  90. data/vendor/assets/javascripts/moment/se.js +2 -2
  91. data/vendor/assets/javascripts/moment/si.js +7 -2
  92. data/vendor/assets/javascripts/moment/sk.js +74 -74
  93. data/vendor/assets/javascripts/moment/sl.js +92 -90
  94. data/vendor/assets/javascripts/moment/sq.js +5 -4
  95. data/vendor/assets/javascripts/moment/sr-cyrl.js +21 -19
  96. data/vendor/assets/javascripts/moment/sr.js +21 -19
  97. data/vendor/assets/javascripts/moment/ss.js +89 -0
  98. data/vendor/assets/javascripts/moment/sv.js +6 -4
  99. data/vendor/assets/javascripts/moment/sw.js +3 -2
  100. data/vendor/assets/javascripts/moment/ta.js +2 -2
  101. data/vendor/assets/javascripts/moment/te.js +3 -2
  102. data/vendor/assets/javascripts/moment/th.js +9 -7
  103. data/vendor/assets/javascripts/moment/tl-ph.js +3 -3
  104. data/vendor/assets/javascripts/moment/tlh.js +18 -17
  105. data/vendor/assets/javascripts/moment/tr.js +2 -2
  106. data/vendor/assets/javascripts/moment/tzl.js +8 -4
  107. data/vendor/assets/javascripts/moment/tzm-latn.js +2 -2
  108. data/vendor/assets/javascripts/moment/tzm.js +2 -2
  109. data/vendor/assets/javascripts/moment/uk.js +21 -21
  110. data/vendor/assets/javascripts/moment/uz.js +2 -2
  111. data/vendor/assets/javascripts/moment/vi.js +15 -2
  112. data/vendor/assets/javascripts/moment/x-pseudo.js +68 -0
  113. data/vendor/assets/javascripts/moment/zh-cn.js +14 -14
  114. data/vendor/assets/javascripts/moment/zh-hk.js +105 -0
  115. data/vendor/assets/javascripts/moment/zh-tw.js +29 -26
  116. metadata +10 -4
  117. data/test/dummy/log/test.log +0 -47
@@ -1,18 +1,18 @@
1
1
  //! moment.js locale configuration
2
- //! locale : afrikaans (af)
2
+ //! locale : Afrikaans [af]
3
3
  //! author : Werner Mollentze : https://github.com/wernerm
4
4
 
5
5
  ;(function (global, factory) {
6
6
  typeof exports === 'object' && typeof module !== 'undefined'
7
7
  && typeof require === 'function' ? factory(require('../moment')) :
8
- typeof define === 'function' && define.amd ? define(['moment'], factory) :
8
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
9
9
  factory(global.moment)
10
10
  }(this, function (moment) { 'use strict';
11
11
 
12
12
 
13
13
  var af = moment.defineLocale('af', {
14
14
  months : 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split('_'),
15
- monthsShort : 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'),
15
+ monthsShort : 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'),
16
16
  weekdays : 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split('_'),
17
17
  weekdaysShort : 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'),
18
18
  weekdaysMin : 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'),
@@ -0,0 +1,122 @@
1
+ //! moment.js locale configuration
2
+ //! locale : Arabic (Lybia) [ar-ly]
3
+ //! author : Ali Hmer: https://github.com/kikoanis
4
+
5
+ ;(function (global, factory) {
6
+ typeof exports === 'object' && typeof module !== 'undefined'
7
+ && typeof require === 'function' ? factory(require('../moment')) :
8
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
9
+ factory(global.moment)
10
+ }(this, function (moment) { 'use strict';
11
+
12
+
13
+ var symbolMap = {
14
+ '1': '1',
15
+ '2': '2',
16
+ '3': '3',
17
+ '4': '4',
18
+ '5': '5',
19
+ '6': '6',
20
+ '7': '7',
21
+ '8': '8',
22
+ '9': '9',
23
+ '0': '0'
24
+ }, pluralForm = function (n) {
25
+ return n === 0 ? 0 : n === 1 ? 1 : n === 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5;
26
+ }, plurals = {
27
+ s : ['أقل من ثانية', 'ثانية واحدة', ['ثانيتان', 'ثانيتين'], '%d ثوان', '%d ثانية', '%d ثانية'],
28
+ m : ['أقل من دقيقة', 'دقيقة واحدة', ['دقيقتان', 'دقيقتين'], '%d دقائق', '%d دقيقة', '%d دقيقة'],
29
+ h : ['أقل من ساعة', 'ساعة واحدة', ['ساعتان', 'ساعتين'], '%d ساعات', '%d ساعة', '%d ساعة'],
30
+ d : ['أقل من يوم', 'يوم واحد', ['يومان', 'يومين'], '%d أيام', '%d يومًا', '%d يوم'],
31
+ M : ['أقل من شهر', 'شهر واحد', ['شهران', 'شهرين'], '%d أشهر', '%d شهرا', '%d شهر'],
32
+ y : ['أقل من عام', 'عام واحد', ['عامان', 'عامين'], '%d أعوام', '%d عامًا', '%d عام']
33
+ }, pluralize = function (u) {
34
+ return function (number, withoutSuffix, string, isFuture) {
35
+ var f = pluralForm(number),
36
+ str = plurals[u][pluralForm(number)];
37
+ if (f === 2) {
38
+ str = str[withoutSuffix ? 0 : 1];
39
+ }
40
+ return str.replace(/%d/i, number);
41
+ };
42
+ }, months = [
43
+ 'يناير',
44
+ 'فبراير',
45
+ 'مارس',
46
+ 'أبريل',
47
+ 'مايو',
48
+ 'يونيو',
49
+ 'يوليو',
50
+ 'أغسطس',
51
+ 'سبتمبر',
52
+ 'أكتوبر',
53
+ 'نوفمبر',
54
+ 'ديسمبر'
55
+ ];
56
+
57
+ var ar_ly = moment.defineLocale('ar-ly', {
58
+ months : months,
59
+ monthsShort : months,
60
+ weekdays : 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
61
+ weekdaysShort : 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
62
+ weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'),
63
+ weekdaysParseExact : true,
64
+ longDateFormat : {
65
+ LT : 'HH:mm',
66
+ LTS : 'HH:mm:ss',
67
+ L : 'D/\u200FM/\u200FYYYY',
68
+ LL : 'D MMMM YYYY',
69
+ LLL : 'D MMMM YYYY HH:mm',
70
+ LLLL : 'dddd D MMMM YYYY HH:mm'
71
+ },
72
+ meridiemParse: /ص|م/,
73
+ isPM : function (input) {
74
+ return 'م' === input;
75
+ },
76
+ meridiem : function (hour, minute, isLower) {
77
+ if (hour < 12) {
78
+ return 'ص';
79
+ } else {
80
+ return 'م';
81
+ }
82
+ },
83
+ calendar : {
84
+ sameDay: '[اليوم عند الساعة] LT',
85
+ nextDay: '[غدًا عند الساعة] LT',
86
+ nextWeek: 'dddd [عند الساعة] LT',
87
+ lastDay: '[أمس عند الساعة] LT',
88
+ lastWeek: 'dddd [عند الساعة] LT',
89
+ sameElse: 'L'
90
+ },
91
+ relativeTime : {
92
+ future : 'بعد %s',
93
+ past : 'منذ %s',
94
+ s : pluralize('s'),
95
+ m : pluralize('m'),
96
+ mm : pluralize('m'),
97
+ h : pluralize('h'),
98
+ hh : pluralize('h'),
99
+ d : pluralize('d'),
100
+ dd : pluralize('d'),
101
+ M : pluralize('M'),
102
+ MM : pluralize('M'),
103
+ y : pluralize('y'),
104
+ yy : pluralize('y')
105
+ },
106
+ preparse: function (string) {
107
+ return string.replace(/\u200f/g, '').replace(/،/g, ',');
108
+ },
109
+ postformat: function (string) {
110
+ return string.replace(/\d/g, function (match) {
111
+ return symbolMap[match];
112
+ }).replace(/,/g, '،');
113
+ },
114
+ week : {
115
+ dow : 6, // Saturday is the first day of the week.
116
+ doy : 12 // The week that contains Jan 1st is the first week of the year.
117
+ }
118
+ });
119
+
120
+ return ar_ly;
121
+
122
+ }));
@@ -1,12 +1,12 @@
1
1
  //! moment.js locale configuration
2
- //! locale : Moroccan Arabic (ar-ma)
2
+ //! locale : Arabic (Morocco) [ar-ma]
3
3
  //! author : ElFadili Yassine : https://github.com/ElFadiliY
4
4
  //! author : Abdel Said : https://github.com/abdelsaid
5
5
 
6
6
  ;(function (global, factory) {
7
7
  typeof exports === 'object' && typeof module !== 'undefined'
8
8
  && typeof require === 'function' ? factory(require('../moment')) :
9
- typeof define === 'function' && define.amd ? define(['moment'], factory) :
9
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
10
10
  factory(global.moment)
11
11
  }(this, function (moment) { 'use strict';
12
12
 
@@ -17,6 +17,7 @@
17
17
  weekdays : 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
18
18
  weekdaysShort : 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),
19
19
  weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'),
20
+ weekdaysParseExact : true,
20
21
  longDateFormat : {
21
22
  LT : 'HH:mm',
22
23
  LTS : 'HH:mm:ss',
@@ -1,11 +1,11 @@
1
1
  //! moment.js locale configuration
2
- //! locale : Arabic Saudi Arabia (ar-sa)
2
+ //! locale : Arabic (Saudi Arabia) [ar-sa]
3
3
  //! author : Suhail Alkowaileet : https://github.com/xsoh
4
4
 
5
5
  ;(function (global, factory) {
6
6
  typeof exports === 'object' && typeof module !== 'undefined'
7
7
  && typeof require === 'function' ? factory(require('../moment')) :
8
- typeof define === 'function' && define.amd ? define(['moment'], factory) :
8
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
9
9
  factory(global.moment)
10
10
  }(this, function (moment) { 'use strict';
11
11
 
@@ -40,6 +40,7 @@
40
40
  weekdays : 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
41
41
  weekdaysShort : 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
42
42
  weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'),
43
+ weekdaysParseExact : true,
43
44
  longDateFormat : {
44
45
  LT : 'HH:mm',
45
46
  LTS : 'HH:mm:ss',
@@ -1,10 +1,11 @@
1
1
  //! moment.js locale configuration
2
- //! locale : Tunisian Arabic (ar-tn)
2
+ //! locale : Arabic (Tunisia) [ar-tn]
3
+ //! author : Nader Toukabri : https://github.com/naderio
3
4
 
4
5
  ;(function (global, factory) {
5
6
  typeof exports === 'object' && typeof module !== 'undefined'
6
7
  && typeof require === 'function' ? factory(require('../moment')) :
7
- typeof define === 'function' && define.amd ? define(['moment'], factory) :
8
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
8
9
  factory(global.moment)
9
10
  }(this, function (moment) { 'use strict';
10
11
 
@@ -15,6 +16,7 @@
15
16
  weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
16
17
  weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
17
18
  weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
19
+ weekdaysParseExact : true,
18
20
  longDateFormat: {
19
21
  LT: 'HH:mm',
20
22
  LTS: 'HH:mm:ss',
@@ -1,13 +1,13 @@
1
1
  //! moment.js locale configuration
2
- //! Locale: Arabic (ar)
3
- //! Author: Abdel Said: https://github.com/abdelsaid
4
- //! Changes in months, weekdays: Ahmed Elkhatib
5
- //! Native plural forms: forabi https://github.com/forabi
2
+ //! locale : Arabic [ar]
3
+ //! author : Abdel Said: https://github.com/abdelsaid
4
+ //! author : Ahmed Elkhatib
5
+ //! author : forabi https://github.com/forabi
6
6
 
7
7
  ;(function (global, factory) {
8
8
  typeof exports === 'object' && typeof module !== 'undefined'
9
9
  && typeof require === 'function' ? factory(require('../moment')) :
10
- typeof define === 'function' && define.amd ? define(['moment'], factory) :
10
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
11
11
  factory(global.moment)
12
12
  }(this, function (moment) { 'use strict';
13
13
 
@@ -73,6 +73,7 @@
73
73
  weekdays : 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
74
74
  weekdaysShort : 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
75
75
  weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'),
76
+ weekdaysParseExact : true,
76
77
  longDateFormat : {
77
78
  LT : 'HH:mm',
78
79
  LTS : 'HH:mm:ss',
@@ -1,11 +1,11 @@
1
1
  //! moment.js locale configuration
2
- //! locale : azerbaijani (az)
2
+ //! locale : Azerbaijani [az]
3
3
  //! author : topchiyev : https://github.com/topchiyev
4
4
 
5
5
  ;(function (global, factory) {
6
6
  typeof exports === 'object' && typeof module !== 'undefined'
7
7
  && typeof require === 'function' ? factory(require('../moment')) :
8
- typeof define === 'function' && define.amd ? define(['moment'], factory) :
8
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
9
9
  factory(global.moment)
10
10
  }(this, function (moment) { 'use strict';
11
11
 
@@ -37,6 +37,7 @@
37
37
  weekdays : 'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split('_'),
38
38
  weekdaysShort : 'Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən'.split('_'),
39
39
  weekdaysMin : 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'),
40
+ weekdaysParseExact : true,
40
41
  longDateFormat : {
41
42
  LT : 'HH:mm',
42
43
  LTS : 'HH:mm:ss',
@@ -1,5 +1,5 @@
1
1
  //! moment.js locale configuration
2
- //! locale : belarusian (be)
2
+ //! locale : Belarusian [be]
3
3
  //! author : Dmitry Demidov : https://github.com/demidov91
4
4
  //! author: Praleska: http://praleska.pro/
5
5
  //! Author : Menelion Elensúle : https://github.com/Oire
@@ -7,7 +7,7 @@
7
7
  ;(function (global, factory) {
8
8
  typeof exports === 'object' && typeof module !== 'undefined'
9
9
  && typeof require === 'function' ? factory(require('../moment')) :
10
- typeof define === 'function' && define.amd ? define(['moment'], factory) :
10
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
11
11
  factory(global.moment)
12
12
  }(this, function (moment) { 'use strict';
13
13
 
@@ -65,15 +65,15 @@
65
65
  },
66
66
  lastWeek: function () {
67
67
  switch (this.day()) {
68
- case 0:
69
- case 3:
70
- case 5:
71
- case 6:
72
- return '[У мінулую] dddd [ў] LT';
73
- case 1:
74
- case 2:
75
- case 4:
76
- return '[У мінулы] dddd [ў] LT';
68
+ case 0:
69
+ case 3:
70
+ case 5:
71
+ case 6:
72
+ return '[У мінулую] dddd [ў] LT';
73
+ case 1:
74
+ case 2:
75
+ case 4:
76
+ return '[У мінулы] dddd [ў] LT';
77
77
  }
78
78
  },
79
79
  sameElse: 'L'
@@ -111,16 +111,16 @@
111
111
  ordinalParse: /\d{1,2}-(і|ы|га)/,
112
112
  ordinal: function (number, period) {
113
113
  switch (period) {
114
- case 'M':
115
- case 'd':
116
- case 'DDD':
117
- case 'w':
118
- case 'W':
119
- return (number % 10 === 2 || number % 10 === 3) && (number % 100 !== 12 && number % 100 !== 13) ? number + '-і' : number + '-ы';
120
- case 'D':
121
- return number + '-га';
122
- default:
123
- return number;
114
+ case 'M':
115
+ case 'd':
116
+ case 'DDD':
117
+ case 'w':
118
+ case 'W':
119
+ return (number % 10 === 2 || number % 10 === 3) && (number % 100 !== 12 && number % 100 !== 13) ? number + '-і' : number + '-ы';
120
+ case 'D':
121
+ return number + '-га';
122
+ default:
123
+ return number;
124
124
  }
125
125
  },
126
126
  week : {
@@ -1,11 +1,11 @@
1
1
  //! moment.js locale configuration
2
- //! locale : bulgarian (bg)
2
+ //! locale : Bulgarian [bg]
3
3
  //! author : Krasen Borisov : https://github.com/kraz
4
4
 
5
5
  ;(function (global, factory) {
6
6
  typeof exports === 'object' && typeof module !== 'undefined'
7
7
  && typeof require === 'function' ? factory(require('../moment')) :
8
- typeof define === 'function' && define.amd ? define(['moment'], factory) :
8
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
9
9
  factory(global.moment)
10
10
  }(this, function (moment) { 'use strict';
11
11
 
@@ -31,15 +31,15 @@
31
31
  lastDay : '[Вчера в] LT',
32
32
  lastWeek : function () {
33
33
  switch (this.day()) {
34
- case 0:
35
- case 3:
36
- case 6:
37
- return '[В изминалата] dddd [в] LT';
38
- case 1:
39
- case 2:
40
- case 4:
41
- case 5:
42
- return '[В изминалия] dddd [в] LT';
34
+ case 0:
35
+ case 3:
36
+ case 6:
37
+ return '[В изминалата] dddd [в] LT';
38
+ case 1:
39
+ case 2:
40
+ case 4:
41
+ case 5:
42
+ return '[В изминалия] dddd [в] LT';
43
43
  }
44
44
  },
45
45
  sameElse : 'L'
@@ -1,11 +1,11 @@
1
1
  //! moment.js locale configuration
2
- //! locale : Bengali (bn)
2
+ //! locale : Bengali [bn]
3
3
  //! author : Kaushik Gandhi : https://github.com/kaushikgandhi
4
4
 
5
5
  ;(function (global, factory) {
6
6
  typeof exports === 'object' && typeof module !== 'undefined'
7
7
  && typeof require === 'function' ? factory(require('../moment')) :
8
- typeof define === 'function' && define.amd ? define(['moment'], factory) :
8
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
9
9
  factory(global.moment)
10
10
  }(this, function (moment) { 'use strict';
11
11
 
@@ -36,11 +36,11 @@
36
36
  };
37
37
 
38
38
  var bn = moment.defineLocale('bn', {
39
- months : 'জানুয়ারী_ফেবুয়ারী_মার্চ_এপ্রিল_মে_জুন_জুলাই_অগাস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split('_'),
40
- monthsShort : 'জানু_ফেব_মার্চ_এপর_মে_জুন_জুল_অগ_সেপ্ট_অক্টো_নভ_ডিসেম্'.split('_'),
41
- weekdays : 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পত্তিবার_শুক্রবার_শনিবার'.split('_'),
42
- weekdaysShort : 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পত্তি_শুক্র_শনি'.split('_'),
43
- weekdaysMin : 'রব_সম_মঙ্গ_বু_ব্রিহ_শু_শনি'.split('_'),
39
+ months : 'জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split('_'),
40
+ monthsShort : 'জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে'.split('_'),
41
+ weekdays : 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split('_'),
42
+ weekdaysShort : 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'),
43
+ weekdaysMin : 'রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি'.split('_'),
44
44
  longDateFormat : {
45
45
  LT : 'A h:mm সময়',
46
46
  LTS : 'A h:mm:ss সময়',
@@ -83,12 +83,18 @@
83
83
  });
84
84
  },
85
85
  meridiemParse: /রাত|সকাল|দুপুর|বিকাল|রাত/,
86
- isPM: function (input) {
87
- return /^(দুপুর|বিকাল|রাত)$/.test(input);
86
+ meridiemHour : function (hour, meridiem) {
87
+ if (hour === 12) {
88
+ hour = 0;
89
+ }
90
+ if ((meridiem === 'রাত' && hour >= 4) ||
91
+ (meridiem === 'দুপুর' && hour < 5) ||
92
+ meridiem === 'বিকাল') {
93
+ return hour + 12;
94
+ } else {
95
+ return hour;
96
+ }
88
97
  },
89
- //Bengali is a vast language its spoken
90
- //in different forms in various parts of the world.
91
- //I have just generalized with most common one used
92
98
  meridiem : function (hour, minute, isLower) {
93
99
  if (hour < 4) {
94
100
  return 'রাত';
@@ -1,11 +1,11 @@
1
1
  //! moment.js locale configuration
2
- //! locale : tibetan (bo)
2
+ //! locale : Tibetan [bo]
3
3
  //! author : Thupten N. Chakrishar : https://github.com/vajradog
4
4
 
5
5
  ;(function (global, factory) {
6
6
  typeof exports === 'object' && typeof module !== 'undefined'
7
7
  && typeof require === 'function' ? factory(require('../moment')) :
8
- typeof define === 'function' && define.amd ? define(['moment'], factory) :
8
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
9
9
  factory(global.moment)
10
10
  }(this, function (moment) { 'use strict';
11
11
 
@@ -83,8 +83,17 @@
83
83
  });
84
84
  },
85
85
  meridiemParse: /མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,
86
- isPM: function (input) {
87
- return /^(ཉིན་གུང|དགོང་དག|མཚན་མོ)$/.test(input);
86
+ meridiemHour : function (hour, meridiem) {
87
+ if (hour === 12) {
88
+ hour = 0;
89
+ }
90
+ if ((meridiem === 'མཚན་མོ' && hour >= 4) ||
91
+ (meridiem === 'ཉིན་གུང' && hour < 5) ||
92
+ meridiem === 'དགོང་དག') {
93
+ return hour + 12;
94
+ } else {
95
+ return hour;
96
+ }
88
97
  },
89
98
  meridiem : function (hour, minute, isLower) {
90
99
  if (hour < 4) {