Skip to content
This repository has been archived by the owner on Mar 29, 2019. It is now read-only.

Datetime queries do not have a flexible format #50

Open
mileswwatkins opened this issue May 1, 2015 · 1 comment
Open

Datetime queries do not have a flexible format #50

mileswwatkins opened this issue May 1, 2015 · 1 comment

Comments

@mileswwatkins
Copy link
Contributor

We should be able to flexibly search in datetime fields. The docs suggest that one could use everything from year alone to full datetime down to fractional seconds.

For example, this works:
http://api.opencivicdata.org/bills/?created_at=2015-04-09T00:24:06.485090
But this (and other variations on datetime) doesn't work:
http://api.opencivicdata.org/bills/?updated_at=2015

@mileswwatkins
Copy link
Contributor Author

Same with votes; currently you have to search on full date string, even though the time component is null:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant