From: Yegor Pomortsev Date: Wed, 20 Jun 2012 20:05:57 +0000 (-0700) Subject: lang/ru: weekdays case regex should be case sensitive X-Git-Tag: 1.7.0~10^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e626c5dd043cb282d5c7e2729c66ee294eab34d0;p=thirdparty%2Fmoment.git lang/ru: weekdays case regex should be case sensitive --- diff --git a/lang/ru.js b/lang/ru.js index bec01b8c7..5e99e112e 100644 --- a/lang/ru.js +++ b/lang/ru.js @@ -58,7 +58,7 @@ 'accusative': 'воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу'.split('_'), }, - nounCase = (/\[ ?[Вв] ?(?:прошлую|следующую)? ?\] ?dddd/i).test(format) ? + nounCase = (/\[ ?[Вв] ?(?:прошлую|следующую)? ?\] ?dddd/).test(format) ? 'accusative' : 'nominative';