Sat, 30 Aug 2014 22:15:54 +0200
Specified date formatting
www-thermferm/liveview.php | file | annotate | diff | comparison | revisions |
--- a/www-thermferm/liveview.php Sat Aug 30 13:06:07 2014 +0200 +++ b/www-thermferm/liveview.php Sat Aug 30 22:15:54 2014 +0200 @@ -107,7 +107,7 @@ $outstr .= ' {'.PHP_EOL; $outstr .= ' datatype: "json",'.PHP_EOL; $outstr .= ' datafields: ['.PHP_EOL; - $outstr .= ' { name: "Date" },'.PHP_EOL; + $outstr .= ' { name: "Date", type: "date", format: "yyyy-MM-ddTHH:mm" },'.PHP_EOL; $outstr .= ' { name: "Mode" },'.PHP_EOL; $outstr .= ' { name: "Air", type: "float" },'.PHP_EOL; $outstr .= ' { name: "Beer", type: "float" },'.PHP_EOL;