This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user