Skip to content

Decode naive temporal values directly - #398

Merged
ruslandoga merged 5 commits into
masterfrom
rd/decode-naive-time-directly
Aug 9, 2026
Merged

Decode naive temporal values directly#398
ruslandoga merged 5 commits into
masterfrom
rd/decode-naive-time-directly

Conversation

@ruslandoga

Copy link
Copy Markdown
Collaborator

Decode timezone-less DateTime and DateTime64 values directly with NaiveDateTime Gregorian constructors, while preserving DateTime.from_unix! for UTC and named timezones. Decode Time64 directly with Time.from_seconds_after_midnight and preserve declared fractional precision. Normalize negative fractional DateTime64 ticks and add pre-epoch regression coverage.

Tests: mix test (474 passed)

@ruslandoga
ruslandoga force-pushed the rd/decode-naive-time-directly branch from e6828fa to b7499d0 Compare August 9, 2026 15:07
@ruslandoga
ruslandoga force-pushed the rd/decode-naive-time-directly branch from 61f4b74 to 15c18ec Compare August 9, 2026 17:17
@ruslandoga
ruslandoga merged commit 35d6d71 into master Aug 9, 2026
3 checks passed
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