Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing time filter.

  • Loading branch information...
commit 5efbff93ee7bfe01ee3dcaad24a7dea80a257a0f 1 parent 48e5d5f
@coleifer authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  flask_peewee/filters.py
View
2  flask_peewee/filters.py
@@ -283,7 +283,7 @@ def get_field_default(self, field):
elif isinstance(field, DateField):
return datetime.date.today()
elif isinstance(field, TimeField):
- return '00:00:00'
+ return datetime.time(0, 0)
return field.default
def get_value_field(self, field):
Please sign in to comment.
Something went wrong with that request. Please try again.