summaryrefslogtreecommitdiffstats
path: root/js/vendor/momentjs
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2015-01-27 09:19:51 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2015-01-27 09:19:51 +0100
commit1bc1507dd4d92c841e9a56c7d4c241dd7fa1c25f (patch)
tree81dd4f94f002c03f11a3982e0e3a34296160db4d /js/vendor/momentjs
parent3fbc4c6b9a6574830a7acc9485d8c5cad9f5e6a8 (diff)
update clientside libs
Diffstat (limited to 'js/vendor/momentjs')
-rw-r--r--js/vendor/momentjs/.bower.json10
-rw-r--r--js/vendor/momentjs/CHANGELOG.md21
-rw-r--r--js/vendor/momentjs/Moment.js.nuspec28
-rw-r--r--js/vendor/momentjs/README.md8
-rw-r--r--js/vendor/momentjs/bower.json2
-rw-r--r--js/vendor/momentjs/locale/af.js4
-rw-r--r--js/vendor/momentjs/locale/ar-sa.js4
-rw-r--r--js/vendor/momentjs/locale/ar-tn.js55
-rw-r--r--js/vendor/momentjs/locale/ar.js4
-rw-r--r--js/vendor/momentjs/locale/az.js4
-rw-r--r--js/vendor/momentjs/locale/be.js6
-rw-r--r--js/vendor/momentjs/locale/bn.js4
-rw-r--r--js/vendor/momentjs/locale/bo.js4
-rw-r--r--js/vendor/momentjs/locale/eo.js4
-rw-r--r--js/vendor/momentjs/locale/fa.js4
-rw-r--r--js/vendor/momentjs/locale/fy.js69
-rw-r--r--js/vendor/momentjs/locale/he.js2
-rw-r--r--js/vendor/momentjs/locale/hi.js15
-rw-r--r--js/vendor/momentjs/locale/hu.js4
-rw-r--r--js/vendor/momentjs/locale/hy-am.js4
-rw-r--r--js/vendor/momentjs/locale/id.js13
-rw-r--r--js/vendor/momentjs/locale/ja.js4
-rw-r--r--js/vendor/momentjs/locale/ko.js8
-rw-r--r--js/vendor/momentjs/locale/ml.js4
-rw-r--r--js/vendor/momentjs/locale/mr.js15
-rw-r--r--js/vendor/momentjs/locale/ms-my.js13
-rw-r--r--js/vendor/momentjs/locale/ne.js15
-rw-r--r--js/vendor/momentjs/locale/sq.js4
-rw-r--r--js/vendor/momentjs/locale/ta.js42
-rw-r--r--js/vendor/momentjs/locale/th.js4
-rw-r--r--js/vendor/momentjs/locale/uk.js4
-rw-r--r--js/vendor/momentjs/locale/zh-cn.js15
-rw-r--r--js/vendor/momentjs/locale/zh-tw.js13
-rw-r--r--js/vendor/momentjs/meteor/README.md25
-rw-r--r--js/vendor/momentjs/meteor/export.js3
-rw-r--r--js/vendor/momentjs/meteor/test.js5
-rw-r--r--js/vendor/momentjs/min/locales.js343
-rw-r--r--js/vendor/momentjs/min/locales.min.js8
-rw-r--r--js/vendor/momentjs/min/moment-with-locales.js566
-rw-r--r--js/vendor/momentjs/min/moment-with-locales.min.js12
-rw-r--r--js/vendor/momentjs/min/moment.min.js6
-rw-r--r--js/vendor/momentjs/moment.js237
42 files changed, 1405 insertions, 210 deletions
diff --git a/js/vendor/momentjs/.bower.json b/js/vendor/momentjs/.bower.json
index e0a015838..0259a14d1 100644
--- a/js/vendor/momentjs/.bower.json
+++ b/js/vendor/momentjs/.bower.json
@@ -1,6 +1,6 @@
{
"name": "moment",
- "version": "2.8.4",
+ "version": "2.9.0",
"main": "moment.js",
"ignore": [
"**/.*",
@@ -18,13 +18,13 @@
"package.json"
],
"homepage": "https://github.com/moment/moment",
- "_release": "2.8.4",
+ "_release": "2.9.0",
"_resolution": {
"type": "version",
- "tag": "2.8.4",
- "commit": "7ae59de2fc3a1298ae829f6369fe3589b2cd87f8"
+ "tag": "2.9.0",
+ "commit": "8b35bc74c0e88c1a8c58ccb90117a9edc9f6a479"
},
"_source": "git://github.com/moment/moment.git",
- "_target": "~2.8.*",
+ "_target": "~2.9.*",
"_originalSource": "momentjs"
} \ No newline at end of file
diff --git a/js/vendor/momentjs/CHANGELOG.md b/js/vendor/momentjs/CHANGELOG.md
index fec49874a..bc689ca4f 100644
--- a/js/vendor/momentjs/CHANGELOG.md
+++ b/js/vendor/momentjs/CHANGELOG.md
@@ -1,6 +1,27 @@
Changelog
=========
+### 2.9.0 [See full changelog](https://gist.github.com/ichernev/0c9a9b49951111a27ce7)
+
+languages:
+* [2104](https://github.com/moment/moment/issues/2104) Frisian (fy) language file with unit test
+* [2097](https://github.com/moment/moment/issues/2097) add ar-tn locale
+
+deprecations:
+* [2074](https://github.com/moment/moment/issues/2074) Implement `moment.fn.utcOffset`, deprecate `momen.fn.zone`
+
+features:
+* [2088](https://github.com/moment/moment/issues/2088) add moment.fn.isBetween
+* [2054](https://github.com/moment/moment/issues/2054) Call updateOffset when creating moment (needed for default timezone in
+ moment-timezone)
+* [1893](https://github.com/moment/moment/issues/1893) Add moment.isDate method
+* [1825](https://github.com/moment/moment/issues/1825) Implement toJSON function on Duration
+* [1809](https://github.com/moment/moment/issues/1809) Allowing moment.set() to accept a hash of units
+* [2128](https://github.com/moment/moment/issues/2128) Add firstDayOfWeek, firstDayOfYear locale getters
+* [2131](https://github.com/moment/moment/issues/2131) Add quarter diff support
+
+Some bugfixes and language improvements -- [full changelog](https://gist.github.com/ichernev/0c9a9b49951111a27ce7)
+
### 2.8.4 [See full changelog](https://gist.github.com/ichernev/a4fcb0a46d74e4b9b996)
Features:
diff --git a/js/vendor/momentjs/Moment.js.nuspec b/js/vendor/momentjs/Moment.js.nuspec
new file mode 100644
index 000000000..962482366
--- /dev/null
+++ b/js/vendor/momentjs/Moment.js.nuspec
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
+ <metadata>
+ <id>Moment.js</id>
+ <version>2.8.4</version>
+ <authors>Tim Wood</authors>
+ <owners>Cory Deppen, Iskren Chernev</owners>
+ <description>A lightweight javascript date library for parsing, manipulating, and formatting dates.</description>
+ <releaseNotes>
+ - Add LTS localised format that includes seconds
+ - Added formatToken 'x' for unix offset in milliseconds #1938
+ - Support 24:00:00.000 to mean next day, at midnight.
+ - Accept 'date' key when creating moment with object
+ - Use native toISOString when we can
+ - Some bugfixes and language improvements
+ </releaseNotes>
+ <projectUrl>http://momentjs.com/</projectUrl>
+ <iconUrl>http://pbs.twimg.com/profile_images/482670411402858496/Xrtdc94q_normal.png</iconUrl>
+ <licenseUrl>https://raw.github.com/timrwood/moment/master/LICENSE</licenseUrl>
+ <tags>JavaScript date time browser node.js</tags>
+ </metadata>
+ <files>
+ <file src="moment.js" target="Content\Scripts" />
+ <file src="min/moment.min.js" target="Content\Scripts" />
+ <file src="min/moment-with-locales.js" target="Content\Scripts" />
+ <file src="min/moment-with-locales.min.js" target="Content\Scripts" />
+ </files>
+</package>
diff --git a/js/vendor/momentjs/README.md b/js/vendor/momentjs/README.md
index f5e021995..6c25b5e95 100644
--- a/js/vendor/momentjs/README.md
+++ b/js/vendor/momentjs/README.md
@@ -1,6 +1,6 @@
[![NPM version][npm-version-image]][npm-url] [![NPM downloads][npm-downloads-image]][npm-url] [![MIT License][license-image]][license-url] [![Build Status][travis-image]][travis-url]
-A lightweight javascript date library for parsing, validating, manipulating, and formatting dates.
+A lightweight JavaScript date library for parsing, validating, manipulating, and formatting dates.
## [Documentation](http://momentjs.com/docs/)
@@ -20,13 +20,13 @@ There are a number of small backwards incompatible changes with version 2.0.0. [
* Duplicate `Date` passed to `moment()` instead of referencing it.
-## [Changelog](CHANGELOG.md)
+## [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
-## [Contributing](CONTRIBUTING.md)
+## [Contributing](https://github.com/moment/moment/blob/develop/CONTRIBUTING.md)
## License
-Moment.js is freely distributable under the terms of the [MIT license](LICENSE).
+Moment.js is freely distributable under the terms of the [MIT license](https://github.com/moment/moment/blob/develop/LICENSE).
[license-image]: http://img.shields.io/badge/license-MIT-blue.svg?style=flat
[license-url]: LICENSE
diff --git a/js/vendor/momentjs/bower.json b/js/vendor/momentjs/bower.json
index 2a6e8eb13..ab8ee66af 100644
--- a/js/vendor/momentjs/bower.json
+++ b/js/vendor/momentjs/bower.json
@@ -1,6 +1,6 @@
{
"name": "moment",
- "version": "2.8.4",
+ "version": "2.9.0",
"main": "moment.js",
"ignore": [
"**/.*",
diff --git a/js/vendor/momentjs/locale/af.js b/js/vendor/momentjs/locale/af.js
index 2fb7adff2..9c7ad95d8 100644
--- a/js/vendor/momentjs/locale/af.js
+++ b/js/vendor/momentjs/locale/af.js
@@ -17,6 +17,10 @@
weekdays : 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split('_'),
weekdaysShort : 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'),
weekdaysMin : 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'),
+ meridiemParse: /vm|nm/i,
+ isPM : function (input) {
+ return /^nm$/i.test(input);
+ },
meridiem : function (hours, minutes, isLower) {
if (hours < 12) {
return isLower ? 'vm' : 'VM';
diff --git a/js/vendor/momentjs/locale/ar-sa.js b/js/vendor/momentjs/locale/ar-sa.js
index ea7e2f6b4..731f97be3 100644
--- a/js/vendor/momentjs/locale/ar-sa.js
+++ b/js/vendor/momentjs/locale/ar-sa.js
@@ -49,6 +49,10 @@
LLL : 'D MMMM YYYY LT',
LLLL : 'dddd D MMMM YYYY LT'
},
+ meridiemParse: /ص|م/,
+ isPM : function (input) {
+ return 'م' === input;
+ },
meridiem : function (hour, minute, isLower) {
if (hour < 12) {
return 'ص';
diff --git a/js/vendor/momentjs/locale/ar-tn.js b/js/vendor/momentjs/locale/ar-tn.js
new file mode 100644
index 000000000..b1ddb4ff0
--- /dev/null
+++ b/js/vendor/momentjs/locale/ar-tn.js
@@ -0,0 +1,55 @@
+// moment.js locale configuration
+// locale : Tunisian Arabic (ar-tn)
+
+(function (factory) {
+ if (typeof define === 'function' && define.amd) {
+ define(['moment'], factory); // AMD
+ } else if (typeof exports === 'object') {
+ module.exports = factory(require('../moment')); // Node
+ } else {
+ factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
+ }
+}(function (moment) {
+ return moment.defineLocale('ar-tn', {
+ months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),
+ monthsShort: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),
+ weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
+ weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
+ weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
+ longDateFormat: {
+ LT: 'HH:mm',
+ LTS: 'LT:ss',
+ L: 'DD/MM/YYYY',
+ LL: 'D MMMM YYYY',
+ LLL: 'D MMMM YYYY LT',
+ LLLL: 'dddd D MMMM YYYY LT'
+ },
+ calendar: {
+ sameDay: '[اليوم على الساعة] LT',
+ nextDay: '[غدا على الساعة] LT',
+ nextWeek: 'dddd [على الساعة] LT',
+ lastDay: '[أمس على الساعة] LT',
+ lastWeek: 'dddd [على الساعة] LT',
+ sameElse: 'L'
+ },
+ relativeTime: {
+ future: 'في %s',
+ past: 'منذ %s',
+ s: 'ثوان',
+ m: 'دقيقة',
+ mm: '%d دقائق',
+ h: 'ساعة',
+ hh: '%d ساعات',
+ d: 'يوم',
+ dd: '%d أيام',
+ M: 'شهر',
+ MM: '%d أشهر',
+ y: 'سنة',
+ yy: '%d سنوات'
+ },
+ week: {
+ dow: 1, // Monday is the first day of the week.
+ doy: 4 // The week that contains Jan 4th is the first week of the year.
+ }
+ });
+}));
diff --git a/js/vendor/momentjs/locale/ar.js b/js/vendor/momentjs/locale/ar.js
index d6450087d..828e61876 100644
--- a/js/vendor/momentjs/locale/ar.js
+++ b/js/vendor/momentjs/locale/ar.js
@@ -82,6 +82,10 @@
LLL : 'D MMMM YYYY LT',
LLLL : 'dddd D MMMM YYYY LT'
},
+ meridiemParse: /ص|م/,
+ isPM : function (input) {
+ return 'م' === input;
+ },
meridiem : function (hour, minute, isLower) {
if (hour < 12) {
return 'ص';
diff --git a/js/vendor/momentjs/locale/az.js b/js/vendor/momentjs/locale/az.js
index d4d143426..7624feea7 100644
--- a/js/vendor/momentjs/locale/az.js
+++ b/js/vendor/momentjs/locale/az.js
@@ -73,6 +73,10 @@
y : 'bir il',
yy : '%d il'
},
+ meridiemParse: /gecə|səhər|gündüz|axşam/,
+ isPM : function (input) {
+ return /^(gündüz|axşam)$/.test(input);
+ },
meridiem : function (hour, minute, isLower) {
if (hour < 4) {
return 'gecə';
diff --git a/js/vendor/momentjs/locale/be.js b/js/vendor/momentjs/locale/be.js
index 68a6f37cb..d888e21c4 100644
--- a/js/vendor/momentjs/locale/be.js
+++ b/js/vendor/momentjs/locale/be.js
@@ -114,8 +114,10 @@
y : 'год',
yy : relativeTimeWithPlural
},
-
-
+ meridiemParse: /ночы|раніцы|дня|вечара/,
+ isPM : function (input) {
+ return /^(дня|вечара)$/.test(input);
+ },
meridiem : function (hour, minute, isLower) {
if (hour < 4) {
return 'ночы';
diff --git a/js/vendor/momentjs/locale/bn.js b/js/vendor/momentjs/locale/bn.js
index e9549d993..5b4ab515e 100644
--- a/js/vendor/momentjs/locale/bn.js
+++ b/js/vendor/momentjs/locale/bn.js
@@ -83,6 +83,10 @@
return symbolMap[match];
});
},
+ meridiemParse: /রাত|শকাল|দুপুর|বিকেল|রাত/,
+ isPM: function (input) {
+ return /^(দুপুর|বিকেল|রাত)$/.test(input);
+ },
//Bengali is a vast language its spoken
//in different forms in various parts of the world.
//I have just generalized with most common one used
diff --git a/js/vendor/momentjs/locale/bo.js b/js/vendor/momentjs/locale/bo.js
index cece8d133..b8e7001aa 100644
--- a/js/vendor/momentjs/locale/bo.js
+++ b/js/vendor/momentjs/locale/bo.js
@@ -83,6 +83,10 @@
return symbolMap[match];
});
},
+ meridiemParse: /མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,
+ isPM: function (input) {
+ return /^(ཉིན་གུང|དགོང་དག|མཚན་མོ)$/.test(input);
+ },
meridiem : function (hour, minute, isLower) {
if (hour < 4) {
return 'མཚན་མོ';
diff --git a/js/vendor/momentjs/locale/eo.js b/js/vendor/momentjs/locale/eo.js
index 6a3d097b9..9e3d04569 100644
--- a/js/vendor/momentjs/locale/eo.js
+++ b/js/vendor/momentjs/locale/eo.js
@@ -27,6 +27,10 @@
LLL : 'D[-an de] MMMM, YYYY LT',
LLLL : 'dddd, [la] D[-an de] MMMM, YYYY LT'
},
+ meridiemParse: /[ap]\.t\.m/i,
+ isPM: function (input) {
+ return input.charAt(0).toLowerCase() === 'p';
+ },
meridiem : function (hours, minutes, isLower) {
if (hours > 11) {
return isLower ? 'p.t.m.' : 'P.T.M.';
diff --git a/js/vendor/momentjs/locale/fa.js b/js/vendor/momentjs/locale/fa.js
index ad2087a2e..6d765751c 100644
--- a/js/vendor/momentjs/locale/fa.js
+++ b/js/vendor/momentjs/locale/fa.js
@@ -49,6 +49,10 @@
LLL : 'D MMMM YYYY LT',
LLLL : 'dddd, D MMMM YYYY LT'
},
+ meridiemParse: /قبل از ظهر|بعد از ظهر/,
+ isPM: function (input) {
+ return /بعد از ظهر/.test(input);
+ },
meridiem : function (hour, minute, isLower) {
if (hour < 12) {
return 'قبل از ظهر';
diff --git a/js/vendor/momentjs/locale/fy.js b/js/vendor/momentjs/locale/fy.js
new file mode 100644
index 000000000..f86c249a3
--- /dev/null
+++ b/js/vendor/momentjs/locale/fy.js
@@ -0,0 +1,69 @@
+// moment.js locale configuration
+// locale : frisian (fy)
+// author : Robin van der Vliet : https://github.com/robin0van0der0v
+
+(function (factory) {
+ if (typeof define === 'function' && define.amd) {
+ define(['moment'], factory); // AMD
+ } else if (typeof exports === 'object') {
+ module.exports = factory(require('../moment')); // Node
+ } else {
+ factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
+ }
+}(function (moment) {
+ var monthsShortWithDots = 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split('_'),
+ monthsShortWithoutDots = 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_');
+
+ return moment.defineLocale('fy', {
+ months : 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split('_'),
+ monthsShort : function (m, format) {
+ if (/-MMM-/.test(format)) {
+ return monthsShortWithoutDots[m.month()];
+ } else {
+ return monthsShortWithDots[m.month()];
+ }
+ },
+ weekdays : 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split('_'),
+ weekdaysShort : 'si._mo._ti._wo._to._fr._so.'.split('_'),
+ weekdaysMin : 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'),
+ longDateFormat : {
+ LT : 'HH:mm',
+ LTS : 'LT:ss',
+ L : 'DD-MM-YYYY',
+ LL : 'D MMMM YYYY',
+ LLL : 'D MMMM YYYY LT',
+ LLLL : 'dddd D MMMM YYYY LT'
+ },
+ calendar : {
+ sameDay: '[hjoed om] LT',
+ nextDay: '[moarn om] LT',
+ nextWeek: 'dddd [om] LT',
+ lastDay: '[juster om] LT',
+ lastWeek: '[ôfrûne] dddd [om] LT',
+ sameElse: 'L'
+ },
+ relativeTime : {
+ future : 'oer %s',
+ past : '%s lyn',
+ s : 'in pear sekonden',
+ m : 'ien minút',
+ mm : '%d minuten',
+ h : 'ien oere',
+ hh : '%d oeren',
+ d : 'ien dei',
+ dd : '%d dagen',
+ M : 'ien moanne',
+ MM : '%d moannen',
+ y : 'ien jier',
+ yy : '%d jierren'
+ },
+ ordinalParse: /\d{1,2}(ste|de)/,
+ ordinal : function (number) {
+ return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');
+ },
+ week : {
+ dow : 1, // Monday is the first day of the week.
+ doy : 4 // The week that contains Jan 4th is the first week of the year.
+ }
+ });
+}));
diff --git a/js/vendor/momentjs/locale/he.js b/js/vendor/momentjs/locale/he.js
index 9f9f47051..d2f4b1336 100644
--- a/js/vendor/momentjs/locale/he.js
+++ b/js/vendor/momentjs/locale/he.js
@@ -70,6 +70,8 @@
yy : function (number) {
if (number === 2) {
return 'שנתיים';
+ } else if (number % 10 === 0 && number !== 10) {
+ return number + ' שנה';
}
return number + ' שנים';
}
diff --git a/js/vendor/momentjs/locale/hi.js b/js/vendor/momentjs/locale/hi.js
index 73deba5b1..173c4ee07 100644
--- a/js/vendor/momentjs/locale/hi.js
+++ b/js/vendor/momentjs/locale/hi.js
@@ -85,6 +85,21 @@
},
// Hindi notation for meridiems are quite fuzzy in practice. While there exists
// a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi.
+ meridiemParse: /रात|सुबह|दोपहर|शाम/,
+ meridiemHour : function (hour, meridiem) {
+ if (hour === 12) {
+ hour = 0;
+ }
+ if (meridiem === 'रात') {
+ return hour < 4 ? hour : hour + 12;
+ } else if (meridiem === 'सुबह') {
+ return hour;
+ } else if (meridiem === 'दोपहर') {
+ return hour >= 10 ? hour : hour + 12;
+ } else if (meridiem === 'शाम') {
+ return hour + 12;
+ }
+ },
meridiem : function (hour, minute, isLower) {
if (hour < 4) {
return 'रात';
diff --git a/js/vendor/momentjs/locale/hu.js b/js/vendor/momentjs/locale/hu.js
index 7eccd1d90..de8cae9c3 100644
--- a/js/vendor/momentjs/locale/hu.js
+++ b/js/vendor/momentjs/locale/hu.js
@@ -63,6 +63,10 @@
LLL : 'YYYY. MMMM D., LT',
LLLL : 'YYYY. MMMM D., dddd LT'
},
+ meridiemParse: /de|du/i,
+ isPM: function (input) {
+ return input.charAt(1).toLowerCase() === 'u';
+ },
meridiem : function (hours, minutes, isLower) {
if (hours < 12) {
return isLower === true ? 'de' : 'DE';
diff --git a/js/vendor/momentjs/locale/hy-am.js b/js/vendor/momentjs/locale/hy-am.js
index 053a845e0..6e2de8ba6 100644
--- a/js/vendor/momentjs/locale/hy-am.js
+++ b/js/vendor/momentjs/locale/hy-am.js
@@ -78,6 +78,10 @@
yy : '%d տարի'
},
+ meridiemParse: /գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,
+ isPM: function (input) {
+ return /^(ցերեկվա|երեկոյան)$/.test(input);
+ },
meridiem : function (hour) {
if (hour < 4) {
return 'գիշերվա';
diff --git a/js/vendor/momentjs/locale/id.js b/js/vendor/momentjs/locale/id.js
index 36a841a61..fe0484971 100644
--- a/js/vendor/momentjs/locale/id.js
+++ b/js/vendor/momentjs/locale/id.js
@@ -26,6 +26,19 @@
LLL : 'D MMMM YYYY [pukul] LT',
LLLL : 'dddd, D MMMM YYYY [pukul] LT'
},
+ meridiemParse: /pagi|siang|sore|malam/,
+ meridiemHour : function (hour, meridiem) {
+ if (hour === 12) {
+ hour = 0;
+ }
+ if (meridiem === 'pagi') {
+ return hour;
+ } else if (meridiem === 'siang') {
+ return hour >= 11 ? hour : hour + 12;
+ } else if (meridiem === 'sore' || meridiem === 'malam') {
+ return hour + 12;
+ }
+ },
meridiem : function (hours, minutes, isLower) {
if (hours < 11) {
return 'pagi';
diff --git a/js/vendor/momentjs/locale/ja.js b/js/vendor/momentjs/locale/ja.js
index 3f55bcfd5..1feb20206 100644
--- a/js/vendor/momentjs/locale/ja.js
+++ b/js/vendor/momentjs/locale/ja.js
@@ -25,6 +25,10 @@
LLL : 'YYYY年M月D日LT',
LLLL : 'YYYY年M月D日LT dddd'
},
+ meridiemParse: /午前|午後/i,
+ isPM : function (input) {
+ return input === '午後';
+ },
meridiem : function (hour, minute, isLower) {
if (hour < 12) {
return '午前';
diff --git a/js/vendor/momentjs/locale/ko.js b/js/vendor/momentjs/locale/ko.js
index 956345bde..8f9396f9a 100644
--- a/js/vendor/momentjs/locale/ko.js
+++ b/js/vendor/momentjs/locale/ko.js
@@ -28,9 +28,6 @@
LLL : 'YYYY년 MMMM D일 LT',
LLLL : 'YYYY년 MMMM D일 dddd LT'
},
- meridiem : function (hour, minute, isUpper) {