dateNF option ignored when reading XLS files #1693
Labels
No Label
DBF
Dates
Defined Names
Features
Formula
HTML
Images
Infrastructure
Integration
International
ODS
Operations
Performance
PivotTables
Pro
Protection
Read Bug
SSF
SYLK
Style
Write Bug
good first issue
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#1693
Loading…
Reference in New Issue
Block a user
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?
First of all, many thanks for your extremely useful work on this project!
I seem to be running into a small issue in that when reading
.xls
files thedateNF
options appears to be ignored. So running something like:reads in the file, but the
w
property for a date cell has value e.g."7/1/19"
instead of"2019-07-01"
as I would expect. This does not seem to be a problem for.xlsx
files.I note that there is a line that uses the
SSF.format()
function but does not pass it thedateNF
option value:1a5bba267b/bits/76_xls.js (L84)
Is there a reason for this? Changing this to
seems to solve the issue for me, but I do not have a deep understanding of the package.
I will send a basic example file with a snippet to the e-mail address specified in the guidelines.
Thanks again for your time
That change is reasonable and we will add a commit and credit you :)