You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 25, 2021. It is now read-only.
I need to export an array in xlsx and csv.
in xlsx it works fine but in csv the date is incorrect after export.
i have try with class="tableexport-string" and class="tableexport-string target" but it does not work
thanks
The text was updated successfully, but these errors were encountered:
I faced out with the same issue, exported data in xlsx contained wrong date cells. actual date is less than 1. The problem is in function dateNum (file tableexport.js, line 486)
dateNum: function (v, date1904) {
if (date1904) v += 1462;
var epoch = Date.parse(v);
var result = (epoch - new Date(Date.UTC(1899, 11, 30))) / (24 * 60 * 60 * 1000); return Math.floor(result);
},
Incorrect rounding at the end of function - Math.floor, it should be Math.round at least.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I need to export an array in xlsx and csv.
in xlsx it works fine but in csv the date is incorrect after export.
i have try with class="tableexport-string" and class="tableexport-string target" but it does not work
thanks
The text was updated successfully, but these errors were encountered: