imiptools/dates.py | raw changeset files shortlog |
1.1 --- a/imiptools/dates.py Sun May 17 18:09:09 2015 +0200 1.2 +++ b/imiptools/dates.py Sun May 17 18:36:00 2015 +0200 1.3 @@ -366,7 +366,7 @@ 1.4 """ 1.5 1.6 return ( 1.7 - dt.date() == end.date() or 1.8 + to_timezone(dt, tzid).date() == to_timezone(end, tzid).date() or 1.9 end == get_end_of_day(dt, tzid) 1.10 ) 1.11