reverted previous patch

This commit is contained in:
mdipierro
2013-09-07 21:01:30 -05:00
parent bf89d42c00
commit aacbb5cef8
2 changed files with 2 additions and 2 deletions

View File

@@ -1 +1 @@
Version 2.6.0-development+timestamp.2013.09.06.16.28.32
Version 2.6.0-development+timestamp.2013.09.07.21.00.37

View File

@@ -2341,7 +2341,7 @@ class IS_DATETIME(Validator):
return (ovalue, translate(self.error_message) % self.extremes)
def formatter(self, value):
if value is None or value == '':
if value is None:
return None
format = self.format
year = value.year