Skip to content
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

Queries with DateTime are too strict #133

Open
thardy opened this issue Jul 1, 2020 · 0 comments
Open

Queries with DateTime are too strict #133

thardy opened this issue Jul 1, 2020 · 0 comments

Comments

@thardy
Copy link

thardy commented Jul 1, 2020

I'm using DateTime in my model, but when I use simple date formats like '1-1-2020' in my queries, they fail validation. Why is that? The back-end date may contain both a date and a time, but like any other query language I want to be able to query these fields with simple date formats or with more specific DateTime formats. Why can't I query a DateTime with a Date?

I'm trying to figure out the best way to accomplish the above and having some trouble with it. Any advice?

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

No branches or pull requests

1 participant