Commit c932a5ad authored by Ivan Tyagov's avatar Ivan Tyagov

Use more common datetime format until code evolves to sent to client preffered datetime format.

parent 58580e21
......@@ -12,7 +12,7 @@
</item>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts33630760.88</string> </value>
<value> <string>ts34058349.94</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
......@@ -255,8 +255,7 @@ var Form = {\n
dom = $("[name=" + Form.getFieldId(field_id) + "]");\n
date = field_dict["value"];\n
date = new Date(date);\n
dom.datepicker();\n
dom.datepicker({ dateFormat: \'yyyy/mm/dd\' });\n
dom.datepicker({ dateFormat: \'dd/mm/yy\' }); // XXX: get format from server!\n
dom.datepicker(\'setDate\', date);\n
return dom;\n
},\n
......@@ -536,7 +535,7 @@ var RenderJs = {\n
</item>
<item>
<key> <string>size</string> </key>
<value> <int>18539</int> </value>
<value> <int>18537</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
1
\ No newline at end of file
2
\ No newline at end of file
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