dmpayton / reqon

Build simple, read-only RethinkDB queries from JSON
https://reqon.readthedocs.org/
MIT License
2 stars 1 forks source link

Fix between query parsing #13

Closed dphaener closed 8 years ago

dphaener commented 8 years ago

This fixes the parsing of the between query. It looks like the dateutil.parser blows up when an integer is passed to it. Now we are type checking to see if an integer is passed in and if so, just passing it through before attempting a dateutil.parse.

@dmpayton This fixes a bug. However, it does not affect Aggregator's current use case, as Aggregator is currently using dates for the between operator, and that currently works.