remove inifinitely recursive Date() function (#55)

This commit is contained in:
Iramis Valentin 2025-05-01 12:39:43 -04:00 committed by GitHub
parent 8b4a04bedb
commit c8c62cc430
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 8 deletions

View File

@ -184,14 +184,6 @@ export function firstLogin(baseUrl, cookies, bootstrapPassword, password) {
}
}
export function Date(year, month, day) {
if (typeof year !== "undefined" &&
typeof month !== "undefined" &&
typeof day !== "undefined"
) return new Date(year, month, day)
return new Date()
}
export function timestamp() {
return new Date().toISOString()
}