summaryrefslogtreecommitdiff
path: root/src/daq/flumotion-rrd
diff options
context:
space:
mode:
Diffstat (limited to 'src/daq/flumotion-rrd')
-rwxr-xr-xsrc/daq/flumotion-rrd/flumotion-rrd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daq/flumotion-rrd/flumotion-rrd.py b/src/daq/flumotion-rrd/flumotion-rrd.py
index 405b335..59ba6f6 100755
--- a/src/daq/flumotion-rrd/flumotion-rrd.py
+++ b/src/daq/flumotion-rrd/flumotion-rrd.py
@@ -124,7 +124,7 @@ class FlumotionRRD():
reactor.stop()
print 'SFive: will use 7 days of data ending with %s using a step size of %d seconds' % (
- datetime.datetime.utcfromtimestamp(self._end).isoformat('Z'), self._duration)
+ datetime.datetime.utcfromtimestamp(self._end).isoformat('T'), self._duration)
def _sendInit(self):
initdata = { "hostname": self._hostname,
@@ -154,7 +154,7 @@ class FlumotionRRD():
return max
def _sendDataset(self, timestamp, duration, client_count, bytes_sent):
- data = { "start-time": timestamp.isoformat('Z'),
+ data = { "start-time": timestamp.isoformat('T'),
"duration-ms": duration * 1000,
"data": {
"client-count": client_count,