-
-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xlsx2csv - controlling DATE output format #159
Comments
All data (as string matrix) are exported by But after I format the cells with different date formats, they are outputted as they are shown in Excel/Libre Office.
Looks like every cell stores its format and locale information, and |
Or add a new command for formatting time and date. Gosh... |
Excel is very annoying! I assumed it would store a "format independent" version of the date in the XML as well as the formatted one. Thank you for checking this. This is also related to the DATE bug in |
Added a new command Example:
Usage:
|
Hmm,
|
Let's leave this to v0.25.0, after finishing #172 |
I have used
csvtk xlsx2csv
a few times.It ususally outputs dates as
YYYY-MM-DD
but yesterday i got one in USA format
MM-DD-YY
Does XLSX store the date in a locale independent epoch format?
Ifo so, could you provide option for
--date-format '%Y-%m-%d %H:%M'
etc please?The ISO-8601 standard would be the best default choice.
The text was updated successfully, but these errors were encountered: