Support ms resolution.

Patch from Jay Dawes <ajaxous@gmail.com>
This commit is contained in:
Alexander Zobnin
2017-03-26 19:20:18 +03:00
parent 9162210fc7
commit 682be45901
17 changed files with 100 additions and 25 deletions

View File

@@ -72,7 +72,7 @@ function convertHistoryPoint(point) {
// Value must be a number for properly work
return [
Number(point.value),
point.clock * 1000
point.clock * 1000 + Math.round(point.ns / 1000000)
];
}