Date Issues in Validator v13.11.0
let dateTimeFormatResult = new Date("08/04/2023").getDate() === +'04';
let isoDateOnly = new Date("2023-08-04").getDate() === +'04';
let isoDateTime = new Date("2023-08-04T00:00:00").getDate() === +'04';
console.log(dateTimeFormatResult, isoDateOnly, isoDateTime);
no comments