-
Notifications
You must be signed in to change notification settings - Fork 229
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
DateTime.AddMilliseconds(and DateTime.AddMicroseconds ) #3449
Comments
I can't say I remember exactly at this point - back when I was originally implementing this, I remember running into some difficulties with the translation, possibly because sub-millisecond components are treated as fractional (floating point) and it was a bit complicated. Nobody has since actually needed that translation as far as I can remember. |
Hi @roji , I would like to try implementing it, I will probably fail but it will be a valuable experience. Honestly, this is the first time I attempt this kind of intervention, which repository would you recommend I clone? |
I'm not sure what you're asking here - this repository (where we're talking) is where the source code lives, and where you'll need to submit the PR. You can read some getting started tutorials for github and open source to understand the PR process better. |
I apologize, I really expressed myself poorly. I meant which branch was better to start from. It seems that the main branch requires .Net10 and I would like to avoid getting tangled up with unofficial versions. The more correct question would have been if it's okay to start , for example, from the branch hotfix/9.0.4. I will still go read some tutorials. Thank you |
@GLuca74 the PR itself will have to be submitted against the main branch (for EF 10), as it's a new feature. You should simply be able to run restore.cmd (or restore.sh) at the repo root, that will download the correct SDK needed by EF, and then startvs.cmd should start VS using it - it should all be relatively painless. |
Hello,
I am very new about PostgreSQL, I would like to ask you if there is a reason why you decided not to support
DateTime.AddMilliseconds
(and alsoDateTime.AddMicroseconds
). In the classNpgsql.EntityFrameworkCore.PostgreSQL.Query.ExpressionTranslators.Internal.NpgsqlDateTimeMethodTranslator
I found
AddMilliseconds
is mentioned but has been commented out.Thank you
The text was updated successfully, but these errors were encountered: