Skip to content

Fix: prevent crash on ISO8601 datetime import#639

Open
Rom1-B wants to merge 1 commit into
mainfrom
support_45007
Open

Fix: prevent crash on ISO8601 datetime import#639
Rom1-B wants to merge 1 commit into
mainfrom
support_45007

Conversation

@Rom1-B

@Rom1-B Rom1-B commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Checklist before requesting a review

Please delete options that are not relevant.

  • I performed self-review code.
  • I added tests (when available) prove fix is effective or feature works.
  • I updated CHANGELOG short functional description fix or new feature.
  • This change requires documentation update.

Description

  • It fixes !45007

Importing a datetime value in ISO8601 format with microseconds and a timezone offset (e.g. 2026-04-15T13:51:30.935291+00:00) crashed the injection with an uncaught SQL exception, since the raw value was sent as-is to a plain DATETIME column.
The value is now normalized to the Y-m-d H:i:s format before being written to the database, and any remaining exception during a line injection is caught so the batch import no longer hangs.

Screenshots (if appropriate):

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.

1 participant