Skip to content

Fix Datetime2 microseconds formatting#141

Merged
krowinski merged 2 commits intokrowinski:masterfrom
hufman:datetime2_parsing
Feb 3, 2026
Merged

Fix Datetime2 microseconds formatting#141
krowinski merged 2 commits intokrowinski:masterfrom
hufman:datetime2_parsing

Conversation

@hufman
Copy link
Contributor

@hufman hufman commented Jan 29, 2026

When microseconds are parsed into a RowEvent, they are concatenated to the end of the Datetime string, which leads to incorrect behavior later in application logic.

-'1984-12-03 12:33:07.023450'
+'1984-12-03 12:33:0723450'

This PR adds unit tests around microsecond parsing and formats the microseconds correctly.

@krowinski krowinski merged commit 2cb76cd into krowinski:master Feb 3, 2026
9 checks passed
@krowinski
Copy link
Owner

👌

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.

2 participants