Skip to content

Conversation

@roji
Copy link
Member

@roji roji commented Oct 28, 2024

  • Translate DateOnly.DayNumber -> `x - DATE '0001-01-01'
  • Translate DateOnly.FromDayNumber -> DATE '0001-01-01' + x
  • Optimize translation of (x - c) - (y - c) to x - y

Closes #3194

@roji roji merged commit c484080 into npgsql:main Oct 28, 2024
@roji roji deleted the DateOnlyDayNumber branch October 28, 2024 07:42
roji added a commit to roji/Npgsql.Doc that referenced this pull request Oct 28, 2024
roji added a commit to npgsql/doc that referenced this pull request Oct 28, 2024
WhatzGames pushed a commit to WhatzGames/efcore.pg that referenced this pull request Dec 18, 2024
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.

Translate DateOnly.DayNumber subtraction

1 participant