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