Support days without any data in the history download.
authorPat Thoyts <Patrick.Thoyts@renishaw.com>
Wed, 28 Sep 2016 13:16:09 +0000 (14:16 +0100)
committerPat Thoyts <Patrick.Thoyts@renishaw.com>
Wed, 28 Sep 2016 13:16:09 +0000 (14:16 +0100)
commitced540ac5092f717fd1e7ad900ee5be0a6a0288c
tree16c3497ce8b9592c6d58070633b6e35a33d7c593
parent319606aed93d95209c341b468a3b04e9e116692f
Support days without any data in the history download.

If a day has no data then we cannot locate the oldest record so added
the date range in the response and we can use that instead.
This avoids getting stuck in the history download as we fetch 1 day at
a time.
sensor-hub.wsgi
static/sensor-hub.html