Skip to content

Commit

Permalink
Fix documentation of date range searching
Browse files Browse the repository at this point in the history
Ranges are formed as [2013-01-01+TO+2013-12-31] not [2013/01/01+TO+2013/12/31]

Closes mysociety/popit#452
  • Loading branch information
tmtmtmtm committed Mar 4, 2015
1 parent 6172ad9 commit d7bab13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/search.md
Expand Up @@ -47,7 +47,7 @@ This will only match the exact string specified.

You can match date ranges using the API, e.g. to find all memberships which started in 2013:

/api/v0.1/search/memberships?q=start_date:[2013/01/01+TO+2013/12/31]
/api/v0.1/search/memberships?q=start_date:[2013-01-01+TO+2013-12-31]

#### Searching Dates

Expand Down

0 comments on commit d7bab13

Please sign in to comment.