Reputation: 21
Dayjs object shows correct date & time but when converting it to iso string or timestamp. i am getting incorrect values. here is the code -
console.log("updated date",
date, date.valueOf(),
date.toISOString(),
);
i am expecting correct date time & timestamp values
Upvotes: 0
Views: 25