Browse Source

Timestamps are int64, not uint64

tags/nilmdb-1.5.0
Jim Paris 11 years ago
parent
commit
d1140e0f16
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      nilmdb/client/client.py
  2. +2
    -2
      nilmdb/server/server.py

+ 1
- 1
nilmdb/client/client.py View File

@@ -193,7 +193,7 @@ class Client(object):
Specify binary = True to return chunks of raw binary data,
rather than lines of ASCII-formatted data. Raw binary data
is always little-endian and matches the database types
(including a uint64 timestamp).
(including an int64 timestamp).
"""
params = {
"path": path,


+ 2
- 2
nilmdb/server/server.py View File

@@ -414,8 +414,8 @@ class Stream(NilmApp):

If 'binary' is True, return raw binary data, rather than lines
of ASCII-formatted data. Raw binary data is always
little-endian and matches the database types (including a
uint64 timestamp).
little-endian and matches the database types (including an
int64 timestamp).
"""
(start, end) = self._get_times(start, end)



Loading…
Cancel
Save