Skip to content

Commit 4d64dfd

Browse files
author
Alexander Willner
committed
corrected documentation
1 parent 214dcc0 commit 4d64dfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

things/database.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ def make_date_filter(date_column: str, value) -> str:
663663
"AND date(start_date, 'unixepoch', 'localtime') > date('now', 'localtime')"
664664
665665
>>> make_date_filter('stop_date', '2021-03-28')
666-
"AND date(stop_date, 'unixepoch', 'localtime') >= date('2021-03-28', 'localtime')"
666+
"AND date(stop_date, 'unixepoch', 'localtime') >= date('2021-03-28 00:00:00', 'localtime')"
667667
668668
>>> make_date_filter('created', None)
669669
''

0 commit comments

Comments
 (0)