diff --git a/VERSION b/VERSION index 0b47c635..cea5d049 100644 --- a/VERSION +++ b/VERSION @@ -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 diff --git a/gluon/validators.py b/gluon/validators.py index 5622249f..7b4294f1 100644 --- a/gluon/validators.py +++ b/gluon/validators.py @@ -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