Date Issues in Validator v13.11.0

node v18.11.0
version: master
endpointsharetweet
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);
Loading…

no comments

    sign in to comment