Permalink
Browse files

Use the server time in the UI

  • Loading branch information...
1 parent 3f26e64 commit ae860ea950714640fe2339c7dbb2da00ca065f13 @tibbe committed Jan 1, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 assets/monitor.js
View
@@ -96,9 +96,8 @@ $(document).ready(function () {
function fetchData() {
function onDataReceived(stats) {
- var now = new Date().getTime();
for (var i = 0; i < listeners.length; i++) {
- listeners[i](stats, now);
+ listeners[i](stats, stats.server_timestamp_millis);
}
}

0 comments on commit ae860ea

Please sign in to comment.