From: Iskren Chernev Date: Thu, 8 May 2014 07:40:21 +0000 (-0700) Subject: Implement meridiemParse and isPM in Russian X-Git-Tag: 2.7.0~9^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c86ed64f45c231a708be658fbfb3bc68a71af3c;p=thirdparty%2Fmoment.git Implement meridiemParse and isPM in Russian --- diff --git a/lang/ru.js b/lang/ru.js index ac5400da8..dc013a7fc 100644 --- a/lang/ru.js +++ b/lang/ru.js @@ -125,7 +125,10 @@ yy : relativeTimeWithPlural }, - // M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason + meridiemParse: /ночи|утра|дня|вечера/i, + isPM : function (input) { + return /^(дня|вечера)$/.test(input); + }, meridiem : function (hour, minute, isLower) { if (hour < 4) {