Comparing version 7.0.9 to 7.0.10
@@ -16,3 +16,5 @@ "use strict"; | ||
let year = Number(match[1]); | ||
year = (year < 70 ? (2000 + year) : (1900 + year)); | ||
year = (year <= 49) | ||
? (2000 + year) | ||
: (1900 + year); | ||
const month = (Number(match[2]) - 1); | ||
@@ -19,0 +21,0 @@ const date = Number(match[3]); |
@@ -16,3 +16,5 @@ "use strict"; | ||
let year = Number(match[1]); | ||
year = (year < 70 ? (2000 + year) : (1900 + year)); | ||
year = (year <= 49) | ||
? (2000 + year) | ||
: (1900 + year); | ||
const month = (Number(match[2]) - 1); | ||
@@ -19,0 +21,0 @@ const date = Number(match[3]); |
@@ -64,3 +64,3 @@ { | ||
"types": "./dist/node/index.d.ts", | ||
"version": "7.0.9" | ||
"version": "7.0.10" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
695952
7742