Fix in datetimefield
This commit is contained in:
parent
2bccd2a64c
commit
4aacbc2cde
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ class DateField(PhangoField):
|
||||||
|
|
||||||
value=datetime.local_to_gmt(value)
|
value=datetime.local_to_gmt(value)
|
||||||
|
|
||||||
elif not datetime.obtain_timestamp(value, False):
|
elif not datetime.obtain_timestamp(value):
|
||||||
|
|
||||||
self.error=True
|
self.error=True
|
||||||
self.txt_error=self.error_default
|
self.txt_error=self.error_default
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue