-
-
Notifications
You must be signed in to change notification settings - Fork 231
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
How to set global date format conversion?not used utc #420
Comments
Hello @Angus221 , In which format do you wish your date time? How you usually do it without Best Regards, Jon Performance Libraries Runtime Evaluation |
I wish date time format like "yyyy/MM/dd H:mm:ss" |
I try use config ,but it doesn't work |
My EF version EntityframeworkCore 5.0-Preview8 |
@Angus221 What happens if you just use normal LINQ (so not dynamic), does that work for you? |
Normal LINQ has no exception,but my query columns should be configured dynamically,so I need dynamic. Could you help me test the "datetime" type with EF Core 5-preview8 ? |
@Angus221 |
Thanks for your reply ,I try it,but it doesn't work,still the same format. |
Model
Code like :
.Where("RequestDate>=\"2020/08/07 00:00:00\"")
or
.Where("RequestDate>=@1",Datetime.Now)
I've tried two ways to use it, but still format as utc,

Exception
The text was updated successfully, but these errors were encountered: