sheetjs icon indicating copy to clipboard operation
sheetjs copied to clipboard

While I export the date cell, I am getting the one day back instead of actual

Open phani17c opened this issue 8 years ago • 2 comments

Ex: sheet[address] = {t: "d", v: 1537833600000 , z: "[locale]d-mm-yyyy;@"}

And the cell in the excel has 24 Sep 2018 instead of 25 Sep 2018 image

phani17c avatar Sep 26 '18 19:09 phani17c

Never mind! This issue got resolved. But I would like to point out this bug

new Date(Date.parse('09/25/2108')) Tue Sep 25 2018 00:00:00 GMT-0400 (Eastern Daylight Time) WHILE new Date(Date.parse('09-25-2108')) Mon Sep 24 2018 20:00:00 GMT-0400 (Eastern Daylight Time)

This was the error. So I did change the format to mm/dd/yyyy instead of mm-dd-yyyy

phani17c avatar Oct 09 '18 20:10 phani17c

@phani17c Can I know how did you fix your issue?

timratha avatar Feb 22 '19 03:02 timratha