mirror of
https://github.com/jmcnamara/libxlsxwriter.git
synced 2026-05-15 22:02:06 -06:00
[GH-ISSUE #378] Date Time format from System #302
Labels
No labels
awaiting user feedback
bug
cmake
cmake
docs
feature request
in progress
long term
medium term
medium term
pull-request
question
question
ready to close
short term
under investigation
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/libxlsxwriter#302
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @snagytx on GitHub (Sep 23, 2022).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/378
Hello,
Is it possible to add date/time fields with the format getting pulled from the system? I don't want to set the format manually, I just want to mark the field as date/time field.
The date/time fields should be updated automatically when opened in different system date/format settings. Us us MM/DD/YYYY while EU is DD/MM/YYYY.
Thanks.
@jmcnamara commented on GitHub (Sep 23, 2022):
Excel has some built in formats that change with the system:
You can enable these with libxlsxwriter using the
format_set_num_format_index()function:@snagytx commented on GitHub (Sep 23, 2022):
Yes, I was about to test using
format_set_num_format_index