Dates not read from time values #1381
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#1381
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?
Parsing the following content from an ODS file doesn't convert the
time-value
s to dates, even thoughcellDates
is true:The code is:
The first cell is parsed as type
n
:https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part3-schema/OpenDocument-v1.3-os-part3-schema.html#attribute-office_value-type
time
values are intended to be a duration (like 43432 days 6 hours 9 minutes 57 seconds), not representing a moment in time. That said, we'd accept a PR to do the conversion: https://github.com/SheetJS/sheetjs/blob/master/bits/80_parseods.js#L172