Skip to content

Commit 1cb85c6

Browse files
Merge pull request #92 from AlexanderWillner/main
corrected documentation
2 parents 0af5871 + 2217632 commit 1cb85c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ repos:
2424
hooks:
2525
- id: unittest
2626
name: unittest
27-
entry: make test
27+
entry: make test doctest
2828
language: python
2929
'types': [python]
3030
pass_filenames: false

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)