return en-US test, which i had disabled for testing

This commit is contained in:
Simon Kornblith 2010-12-11 07:02:24 +00:00
parent 0f96de71ac
commit 071c05e0bb

View file

@ -333,9 +333,9 @@ Zotero.Date = new function(){
var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul',
'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
// If using a non-English bibliography locale, try those too
//if (Zotero.locale != 'en-US') {
if (Zotero.locale != 'en-US') {
months = months.concat(Zotero.Date.months.short);
//}
}
if(!_monthRe) {
_monthRe = new RegExp("^(.*)\\b("+months.join("|")+")[^ ]*(?: (.*)$|$)", "i");
}