Commit fbea07d0 authored by Tres Seaver's avatar Tres Seaver

WS

parent 5ed30dcd
......@@ -387,7 +387,7 @@ class DateRangeIndex(UnIndex):
if value is None:
return value
if isinstance(value, (str, datetime)):
dt_obj = DateTime( value )
dt_obj = DateTime(value)
value = dt_obj.millis() / 1000 / 60 # flatten to minutes
elif isinstance(value, DateTime):
value = value.millis() / 1000 / 60 # flatten to minutes
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment