Date format Sylk file #1545
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#1545
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?
Hello,
I'm converting a Sylk file to CSV, There is special tag on the Sylk file (O;V0 or O;V4) to specify the starting date of the calendar :
01/01/1900 => O;V0 (or none)
01/01/1904 => O;V4
I updated your file "../node_modules/xlsx/xlsx.js" with
Could you please tell me if is it the correct way to do that ?
Thanks in advance.
Can you share a sample file? Ideally it would set the 1904 date mode in a few places.
Oups sorry, I didn't think it.
2 files added :
"O" tag fixed to : O;D;V0
"O" tag fixed to : O;D;V4
The same «number date» has been fixed to 1, see bellow the result :
1900.slk : 1 => 01/01/1900
1904.slk : 1 => 02/01/1904
The
V
field of theO
record is interpreted as follows:0
: 1900 date system1
,2
,3
,4
: 1904 date systemAny other value: SYLK record warning, fall back to 1900
As mentioned earlier, a PR that checks for V[1-4] would suffice