-
Notifications
You must be signed in to change notification settings - Fork 337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support the new BCL DateOnly
and TimeOnly
structs
#963
Comments
As a parameter value, When reading (e.g., with |
Please note that the final names for these types are |
DateOnly
and TimeOnly
structs
The commit written for this doesn't add support for converting from |
Thank you for this great project. I added a vote and wanted to point out that implementing this Issue would support the project's homepage that says it's "cutting edge" and the tutorial that says it already supports DateOnly. A connection string option to opt in is good for backwards compatibility, though the other opinion is that anyone who wants to intentionally mismatch a DATE field to a DateTime variable should be the ones who have to opt out via a connection string option. |
@Germs2004 This was implemented in MySqlConnector 2.0.0. |
@Germs2004 I created #1451 to track changing the default behaviour. |
Thank you, that new issue is perfect. And my apologies, I didn't notice that this issue was already closed. |
New DateOnly and TimeOnly structs are being introduced to .NET 6 as alternatives to DateTime (dotnet/runtime#49036).
The text was updated successfully, but these errors were encountered: