diff --git a/scrape/parse/v1_v2.js b/scrape/parse/v1_v2.js index 9b35c39..8b5117a 100644 --- a/scrape/parse/v1_v2.js +++ b/scrape/parse/v1_v2.js @@ -210,7 +210,7 @@ export default async function parseV1V2(downloadedFilePath) { if (dateMatch) { const day = Number.parseInt(dateMatch[1], 10); const month = Number.parseInt(dateMatch[2], 10); - const year = Number.parseInt(dateMatch[3], 10); + const year = dateMatch[3].length === 2 ? Number('20' + dateMatch[3]) : Number(dateMatch[3]); date = new Date(year, month - 1, day); }