Compare commits
2 Commits
v3.0.0-dev
...
v3.0.0-dev
| Author | SHA1 | Date | |
|---|---|---|---|
| eb8bee65d9 | |||
| fc4c8745a6 |
@@ -97,7 +97,7 @@ export const IsValidDateStr = (s: string): boolean => {
|
||||
for (let i = 0; i < 10; i++) {
|
||||
if (i === 4 || i === 7) continue;
|
||||
const c = s.charCodeAt(i);
|
||||
if (!isDigit(i)) return false;
|
||||
if (!isDigit(c)) return false;
|
||||
}
|
||||
|
||||
const y = parseInt(s.substring(0, 4), 10);
|
||||
|
||||
@@ -7,9 +7,9 @@
|
||||
|
||||
// Environment Settings
|
||||
// See also https://aka.ms/tsconfig/module
|
||||
"module": "esnext",
|
||||
"module": "nodenext",
|
||||
"target": "esnext",
|
||||
"moduleResolution": "bundler",
|
||||
"moduleResolution": "nodenext",
|
||||
"baseUrl": ".",
|
||||
"types": [],
|
||||
// For nodejs:
|
||||
|
||||
Reference in New Issue
Block a user