Skip to content

Conversation

@WhatzGames
Copy link
Contributor

@WhatzGames WhatzGames commented Nov 12, 2023

Discussed in #2505.
After taking an initial look at the different formatting values for dotnet and postgres I was unable to find a suitable map for every DateOnly/DateTime formatting option.
It might be still be possible, but to this extent I just created the DBFunctions extensions.

Closes #2505

@WhatzGames WhatzGames changed the title Add Translation for to_date as a DBFunction extension Add Translation for to_date and to_timestamp as DBFunctions extensions Jan 5, 2024
@WhatzGames WhatzGames requested a review from roji March 19, 2024 21:36
Copy link
Member

@roji roji left a comment

Choose a reason for hiding this comment

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

Thanks, LGTM! Pushed a few doc corrections and will merge this for 9.0.

@roji roji merged commit 533b9d3 into npgsql:main Mar 20, 2024
@roji
Copy link
Member

roji commented Mar 20, 2024

@WhatzGames thanks for your contribution!

@WhatzGames
Copy link
Contributor Author

@roji I'm just glad it worked out and thank you for letting me have this experience.

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.

Use to_date/to_timestamp for translating string to date-format

2 participants