return en-US test, which i had disabled for testing
This commit is contained in:
parent
0f96de71ac
commit
071c05e0bb
1 changed files with 2 additions and 2 deletions
|
@ -333,9 +333,9 @@ Zotero.Date = new function(){
|
||||||
var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul',
|
var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul',
|
||||||
'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
|
'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
|
||||||
// If using a non-English bibliography locale, try those too
|
// 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);
|
months = months.concat(Zotero.Date.months.short);
|
||||||
//}
|
}
|
||||||
if(!_monthRe) {
|
if(!_monthRe) {
|
||||||
_monthRe = new RegExp("^(.*)\\b("+months.join("|")+")[^ ]*(?: (.*)$|$)", "i");
|
_monthRe = new RegExp("^(.*)\\b("+months.join("|")+")[^ ]*(?: (.*)$|$)", "i");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue