Filter Datetime #1387
Replies: 4 comments
-
is datetime a CharField?
Also searching by exact time till the second may not give results try below instead
also try to use builtin methods like |
Beta Was this translation helpful? Give feedback.
-
@N0SYS73M1SS4F3 you are using an ISO Date Time value so maybe your filter should be IsoDateTimeFilter |
Beta Was this translation helpful? Give feedback.
-
I have the same problem, with a similar structure. The datetime is a |
Beta Was this translation helpful? Give feedback.
-
@rickerp Did you find a way to solve it? If this is still an open issue could you please share some code examples, it will be easier to understand the root of the problem. |
Beta Was this translation helpful? Give feedback.
-
i have json datetime like this
I tried to filter it something like this
localhost:8000/api/v1/history?datetime=2020-09-11%2011:09:52.
Here what i tried
However i got empty value. Is there a way i can archieve it???
Thanks in advance...
Beta Was this translation helpful? Give feedback.
All reactions