WebPagetest Forums
timestamp wrong to tsviewdb - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Private Instances (/forumdisplay.php?fid=12)
+--- Thread: timestamp wrong to tsviewdb (/showthread.php?tid=13237)

timestamp wrong to tsviewdb - ceeaspb - 09-11-2014 01:59 AM

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.


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.


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