stephen-hardy/xlsx.js

subtracting with new Date(1900, 0, 0) will miss one hour for CEST

eskimoblood opened this issue · 0 comments

When subtracting the date in the convertDate function both dates are not in the same timezone, which leads in an output that is shift by one hour.

new Date(1900, 0, 0)
Sun Dec 31 1899 00:00:00 GMT+0100 (CET)
new Date()
Wed Sep 04 2013 15:38:37 GMT+0200 (CEST)