fix: missing break condition in make_json_row #3270
No reviewers
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#3270
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "deepak-negi-web/sheetjs:patch-1"
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?
Description
Fixes an issue where text cells with date formatting were incorrectly being converted to dates. Added a missing
break
statement in themake_json_row
function for string ('s') and boolean ('b') type cases.Issue
Text values in cells with date formatting were being converted to "1/0/1900" or "Invalid Date" when using
cellStyles: true
.Fix
Added
break
statement aftercase 's': case 'b':
to prevent fallthrough into date conversion logic.Fixes #3268