bitemyapp / bloodhound

Haskell Elasticsearch client and query DSL
bitemyapp.com
BSD 3-Clause "New" or "Revised" License
424 stars 118 forks source link

Format date as dd-MM-yyyy to support stricter 2.0+ #135

Closed alistair closed 8 years ago

alistair commented 8 years ago

So this lets an additional test pass on ES 2.0 due to stricter date parsing ( no more than that sadly )

It changes the date formatting to have leading 0's e.g. 02-02-2002.

It also removes more code than it adds :)

bitemyapp commented 8 years ago

Seems like a straight-forward win to me. Thank you :)