timestamp wrong to tsviewdb

Hi,
not sure if this has been reported but didn’t see any search results for it,
timestamps being input into tsviewdb are in seconds, and tsviewdb expects millis.

{“recordTimestamp”:1410362897,“points”:[{“name”:“availability”,“data”:[1,1,1,1,1,1

the following temporarily patched it to prove the issue, not sure what the proper fix would be though.

this is WPT2.15 and tsviewdb built from git in the last week or so.

Thanks,
Alex

diff ./lib/tsview.inc.php ./lib/tsview.inc.php.BAK
105c105
< $data = array(‘recordTimestamp’ => time()*1000,

$data = array(‘recordTimestamp’ => time(),