Skip to content
Browse files

Fixing time filter.

  • Loading branch information...
1 parent 48e5d5f commit 5efbff93ee7bfe01ee3dcaad24a7dea80a257a0f @coleifer committed
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):

0 comments on commit 5efbff9

Please sign in to comment.
Something went wrong with that request. Please try again.