Commit 7afa6fa1 authored by Kristopher Ruzic's avatar Kristopher Ruzic

shows proper timezone for inline timestamps....

parent 307e1f3f
...@@ -236,8 +236,7 @@ ...@@ -236,8 +236,7 @@
}\n }\n
\n \n
function getHumanReadableDate() {\n function getHumanReadableDate() {\n
var dateObject = new Date();\n return new Date().toString().slice(0, -16); // get rid of timezone info\n
return dateObject.toUTCString(); \n
}\n }\n
\n \n
\n \n
...@@ -1072,7 +1071,7 @@ ...@@ -1072,7 +1071,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>945.50924.44927.18978</string> </value> <value> <string>945.50968.2671.43690</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -1090,7 +1089,7 @@ ...@@ -1090,7 +1089,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1442393081.82</float> <float>1442395694.36</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