Date field wouldn't recognize "Aug"

This commit is contained in:
Dan Stillman 2008-01-10 19:41:01 +00:00
parent 2f24efd4c0
commit cbf488b809

View File

@ -1387,7 +1387,7 @@ Zotero.Date = new function(){
if(!date.month) {
// compile month regular expression
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 (Zotero.CSL.Global.locale != 'en-US') {
months = months.concat(Zotero.CSL.Global.getMonthStrings("short"));