Skip to content

Do infinity conversions for LocalDateTime - #4062

Merged
roji merged 1 commit into
npgsql:mainfrom
roji:LocalDateTimeInfinity
Oct 24, 2021
Merged

roji merged 1 commit into
npgsql:mainfrom
roji:LocalDateTimeInfinity

Conversation

@roji

@roji roji commented Oct 24, 2021

Copy link
Copy Markdown
Member

Part of #4034

Currently NodaTime.LocalDateTime has no Min/MaxValue, so we didn't do infinity conversions. But these are being added, so we may as well do the translations now to let people read/write infinity values, and change to use the official properties later (#4061).

@roji
roji requested a review from vonzshik as a code owner October 24, 2021 11:12
@roji roji linked an issue Oct 24, 2021 that may be closed by this pull request
@roji
roji enabled auto-merge (squash) October 24, 2021 11:16
@roji
roji merged commit c87ea23 into npgsql:main Oct 24, 2021
@roji
roji deleted the LocalDateTimeInfinity branch October 24, 2021 11:23
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.

Map timestamp min/max to infinity by default

2 participants