- Aggiungere un campo "Vagliato dall'Editore" e aggiungere anche il campo "chi" e delle Note
This commit is contained in:
@@ -9905,6 +9905,18 @@ export const tools = {
|
||||
}
|
||||
},
|
||||
|
||||
isDateValid(mydate: Date) {
|
||||
try {
|
||||
return (
|
||||
mydate instanceof Date &&
|
||||
isFinite(mydate.getTime()) &&
|
||||
mydate.toISOString().split("T")[0] !== "1970-01-01"
|
||||
)
|
||||
} catch {
|
||||
return false
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
|
||||
// FINE !
|
||||
|
||||
Reference in New Issue
Block a user