closes #387 year in date field is truncated.
This commit is contained in:
parent
edccbe4ad8
commit
e391844acd
|
@ -1,4 +1,4 @@
|
||||||
-- 113
|
-- 114
|
||||||
|
|
||||||
-- ***** BEGIN LICENSE BLOCK *****
|
-- ***** BEGIN LICENSE BLOCK *****
|
||||||
--
|
--
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
|
|
||||||
-- Set the following timestamp to the most recent scraper update date
|
-- Set the following timestamp to the most recent scraper update date
|
||||||
REPLACE INTO "version" VALUES ('repository', STRFTIME('%s', '2006-11-26 23:50:00'));
|
REPLACE INTO "version" VALUES ('repository', STRFTIME('%s', '2006-11-27 09:20:00'));
|
||||||
|
|
||||||
REPLACE INTO translators VALUES ('96b9f483-c44d-5784-cdad-ce21b984fe01', '1.0.0b3.r1', '', '2006-11-26 09:05:00', 1, 100, 4, 'Amazon', 'Sean Takats', '^http://(?:www\.)amazon',
|
REPLACE INTO translators VALUES ('96b9f483-c44d-5784-cdad-ce21b984fe01', '1.0.0b3.r1', '', '2006-11-26 09:05:00', 1, 100, 4, 'Amazon', 'Sean Takats', '^http://(?:www\.)amazon',
|
||||||
'function detectWeb(doc, url) {
|
'function detectWeb(doc, url) {
|
||||||
|
@ -7143,7 +7143,7 @@ function doExport() {
|
||||||
}
|
}
|
||||||
}');
|
}');
|
||||||
|
|
||||||
REPLACE INTO translators VALUES ('a6ee60df-1ddc-4aae-bb25-45e0537be973', '1.0.0b3.r1', '', '2006-10-02 17:00:00', 1, 100, 1, 'MARC', 'Simon Kornblith', 'marc',
|
REPLACE INTO translators VALUES ('a6ee60df-1ddc-4aae-bb25-45e0537be973', '1.0.0b3.r1', '', '2006-11-27 09:20:00', 1, 100, 1, 'MARC', 'Simon Kornblith', 'marc',
|
||||||
'function detectImport() {
|
'function detectImport() {
|
||||||
var marcRecordRegexp = /^[0-9]{5}[a-z ]{3}$/
|
var marcRecordRegexp = /^[0-9]{5}[a-z ]{3}$/
|
||||||
var read = Zotero.read(8);
|
var read = Zotero.read(8);
|
||||||
|
@ -7258,6 +7258,8 @@ record.prototype.importBinary = function(record) {
|
||||||
}
|
}
|
||||||
this.directory[tag].push([fieldPosition, fieldLength]);
|
this.directory[tag].push([fieldPosition, fieldLength]);
|
||||||
}
|
}
|
||||||
|
//strip any nulls that we added above
|
||||||
|
this.content = this.content.replace("\x00", "", "g");
|
||||||
}
|
}
|
||||||
|
|
||||||
// add a field to this record
|
// add a field to this record
|
||||||
|
|
Loading…
Reference in New Issue
Block a user