summaryrefslogtreecommitdiff
path: root/tools/mmd
diff options
context:
space:
mode:
authorJogi Hofmüller <jogi@mur.at>2011-08-11 14:58:00 +0000
committerJogi Hofmüller <jogi@mur.at>2011-08-11 14:58:00 +0000
commit0d3cfb59fbd322ba517fd4f86e766e3d9e39e9f1 (patch)
tree4a1856e4f32ab044bc950cdc3f9d5fdb63a1ff2c /tools/mmd
parent- changed output of debug times from timestamp to timestring (diff)
- fixed bug in timestring/timestamp conversion
git-svn-id: https://svn.spreadspace.org/mur.sat@130 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'tools/mmd')
-rw-r--r--tools/mmd/MmdWidgets.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/mmd/MmdWidgets.py b/tools/mmd/MmdWidgets.py
index 44bbe69..7d122ea 100644
--- a/tools/mmd/MmdWidgets.py
+++ b/tools/mmd/MmdWidgets.py
@@ -325,14 +325,14 @@ def indexWidget (lcol, rcol, status, debug_info = False):
debug_info.session_id,
debug_info.ip,
debug_info.user.email,
- time.strftime ('%c', time.localtime (debug_info.status)),
- time.strftime ('%c', time.localtime (debug_info.expires)),
- time.strftime ('%c', time.localtime (debug_info.renewal)),
- time.strftime ('%c', time.localtime (time.strftime ('%s'))),
+ time.strftime ('%c', time.localtime (float (debug_info.status))),
+ time.strftime ('%c', time.localtime (float (debug_info.expires))),
+ time.strftime ('%c', time.localtime (float (debug_info.renewal))),
+ time.strftime ('%c'),
user_location.name,
user_location.longitude,
user_location.latitude,
- time.strftime ('%c', time.localtime (debug_info.satellite.getLatestSSP()['timestamp'])))
+ time.strftime ('%c', time.localtime (float (debug_info.satellite.getLatestSSP()['timestamp']))))
else:
debug = ''