]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
lang/ru: weekdays case regex should be case sensitive
authorYegor Pomortsev <yegor@pomortsev.com>
Wed, 20 Jun 2012 20:05:57 +0000 (13:05 -0700)
committerYegor Pomortsev <yegor@pomortsev.com>
Wed, 20 Jun 2012 20:05:57 +0000 (13:05 -0700)
lang/ru.js

index bec01b8c70c9b03b0205c0ad2f18f79086ba51d6..5e99e112ebe77446895e6878c5549448eaacd949 100644 (file)
@@ -58,7 +58,7 @@
             'accusative': 'воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу'.split('_'),
         },
 
-        nounCase = (/\[ ?[Вв] ?(?:прошлую|следующую)? ?\] ?dddd/i).test(format) ?
+        nounCase = (/\[ ?[Вв] ?(?:прошлую|следующую)? ?\] ?dddd/).test(format) ?
             'accusative' :
             'nominative';