Commit 1002dd56 authored by Jérome Perrin's avatar Jérome Perrin

minor correction to last comit


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3663 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent dd148c9a
...@@ -592,7 +592,7 @@ class PatchedDateTimeWidget(DateTimeWidget): ...@@ -592,7 +592,7 @@ class PatchedDateTimeWidget(DateTimeWidget):
hour = None hour = None
minute = None minute = None
ampm = None ampm = None
if value is type(DateTime()): if type(value) is type(DateTime()):
year = "%04d" % value.year() year = "%04d" % value.year()
month = "%02d" % value.month() month = "%02d" % value.month()
day = "%02d" % value.day() day = "%02d" % value.day()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment