Skip to content

fix: Importing a simple csv file fails to write the dates - #878

Open
Roshan931 wants to merge 1 commit into
nextcloud:masterfrom
Roshan931:prilog/fix-error-generic-csv-importer-parsed-date-columns-08-21-2026-15035a
Open

fix: Importing a simple csv file fails to write the dates#878
Roshan931 wants to merge 1 commit into
nextcloud:masterfrom
Roshan931:prilog/fix-error-generic-csv-importer-parsed-date-columns-08-21-2026-15035a

Conversation

@Roshan931

Copy link
Copy Markdown

Fixes #840

Root cause

Generic CSV importer parsed date columns with parseInt()

Changes

  • Replaced parseInt() with a timestamp parser in the generic CSV import controller that keeps numeric epoch values and falls back to Date.parse() for date strings, leaving the field untouched when the value is empty or unparseable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Importing a simple csv file fails to write the dates

1 participant