Fix in datetimefield

This commit is contained in:
Antonio de la Rosa 2021-07-07 12:46:05 +02:00
parent 74d37c436f
commit 2bccd2a64c

View file

@ -20,7 +20,7 @@ class DateTimeField(PhangoField):
value=datetime.local_to_gmt(value)
elif not datetime.obtain_timestamp(value, False):
elif not datetime.obtain_timestamp(value):
self.error=True
self.txt_error=self.error_default