Commit 2f8a4781 authored by Xiaowu Zhang's avatar Xiaowu Zhang

Formulator XMLToForm: remove hack for DateTimeField

parent 198dd2e8
...@@ -91,10 +91,6 @@ def XMLToForm(s, form, override_encoding=None): ...@@ -91,10 +91,6 @@ def XMLToForm(s, form, override_encoding=None):
else: else:
field.values[name] = encode(value.text, encoding) field.values[name] = encode(value.text, encoding)
# special hack for the DateTimeField
if field.meta_type=='DateTimeField':
field.on_value_input_style_changed(
field.get_value('input_style'))
# set tales # set tales
tales = entry.first.tales tales = entry.first.tales
......
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