Skip to content

Document additional DateTimeOffset translations#5334

Merged
roji merged 2 commits intodotnet:preview.4from
roji:roji/datetimeoffset-translations-docs
Apr 16, 2026
Merged

Document additional DateTimeOffset translations#5334
roji merged 2 commits intodotnet:preview.4from
roji:roji/datetimeoffset-translations-docs

Conversation

@roji
Copy link
Copy Markdown
Member

@roji roji commented Apr 15, 2026

Document dotnet/efcore#38076

Updates the SQL Server function translations page with new entries for:

  • dateTimeOffset.DateTime, .UtcDateTime, .LocalDateTime
  • dateTimeOffset.Offset.TotalMinutes
  • dateTimeOffset.ToOffset(offset)
  • new DateTimeOffset(dateTime) and new DateTimeOffset(dateTime, offset)
  • EF.Functions.DateTrunc(datepart, value)

Adds a new subsection under SQL Server in the EF Core 11 what's new page summarizing these additions.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Documents new SQL Server translations introduced in EF Core 11, focusing on DateTimeOffset and additional date/time functionality.

Changes:

  • Added a new “Additional DateTimeOffset and date/time translations” subsection to the EF Core 11 what’s new page.
  • Expanded the SQL Server function mappings table with new DateTimeOffset member translations and EF.Functions.DateTrunc().

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
entity-framework/core/what-is-new/ef-core-11.0/whatsnew.md Adds a SQL Server subsection summarizing the new DateTimeOffset/date-time translations and links to function mappings.
entity-framework/core/providers/sql-server/functions.md Adds new rows documenting the SQL translations for additional DateTimeOffset members, constructors, and EF.Functions.DateTrunc().

Comment thread entity-framework/core/what-is-new/ef-core-11.0/whatsnew.md Outdated
Comment thread entity-framework/core/providers/sql-server/functions.md
@roji
Copy link
Copy Markdown
Member Author

roji commented Apr 16, 2026

@copilot resolve the merge conflicts in this pull request

@roji
Copy link
Copy Markdown
Member Author

roji commented Apr 16, 2026

Sometimes it just doesn't listen

roji and others added 2 commits April 16, 2026 23:38
Document dotnet/efcore#38076

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@roji roji force-pushed the roji/datetimeoffset-translations-docs branch from 0518e99 to 4ce93b2 Compare April 16, 2026 21:38
@roji roji merged commit 1d758a9 into dotnet:preview.4 Apr 16, 2026
4 checks passed
@roji roji deleted the roji/datetimeoffset-translations-docs branch April 16, 2026 22:06
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.

3 participants