Commit c99846ad authored by Vincent Bechu's avatar Vincent Bechu

fix document list

parent 00384feb
...@@ -26,20 +26,22 @@ ...@@ -26,20 +26,22 @@
if (result.data.rows[i].value.hasOwnProperty("modification_date")) { if (result.data.rows[i].value.hasOwnProperty("modification_date")) {
date = new Date(result.data.rows[i].value.modification_date); date = new Date(result.data.rows[i].value.modification_date);
result.data.rows[i].value.modification_date = { result.data.rows[i].value.modification_date = {
allow_empty_time: 0, field_gadget_param: {
ampm_time_style: 0, allow_empty_time: 0,
css_class: "date_field", ampm_time_style: 0,
date_only: 0, css_class: "date_field",
description: "The Date", date_only: 0,
editable: 0, description: "The Date",
hidden: 0, editable: 0,
hidden_day_is_last_day: 0, hidden: 0,
"default": date.toUTCString(), hidden_day_is_last_day: 0,
key: "modification_date", "default": date.toUTCString(),
required: 0, key: "modification_date",
timezone_style: 0, required: 0,
title: "Modification Date", timezone_style: 0,
type: "DateTimeField" title: "Modification Date",
type: "DateTimeField"
}
}; };
result.data.rows[i].value["listbox_uid:list"] = { result.data.rows[i].value["listbox_uid:list"] = {
key: "listbox_uid:list", key: "listbox_uid:list",
......
...@@ -271,7 +271,7 @@ ...@@ -271,7 +271,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>966.50136.58427.36864</string> </value> <value> <string>967.44807.10270.24849</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -289,7 +289,7 @@ ...@@ -289,7 +289,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1523366737.77</float> <float>1526916315.76</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
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