mirror of
https://github.com/zotero/zotero.git
synced 2026-10-09 03:18:01 +00:00
Recognize three-digit years
This commit is contained in:
parent
08e5a9ea23
commit
8fcbf7093d
1 changed files with 1 additions and 1 deletions
|
|
@ -1096,7 +1096,7 @@ Zotero.Date = new function(){
|
|||
((m[2] && m[4] && m[6]) || (!m[1] && !m[7]))) { // require that either all parts are found,
|
||||
// or else this is the entire date field
|
||||
// figure out date based on parts
|
||||
if(m[2].length == 4 || m[3] == "\u5e74") {
|
||||
if(m[2].length == 3 || m[2].length == 4 || m[3] == "\u5e74") {
|
||||
// ISO 8601 style date (big endian)
|
||||
date.year = m[2];
|
||||
date.month = m[4];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue