diff options
author | Jogi Hofmüller <jogi@mur.at> | 2011-08-11 14:55:29 +0000 |
---|---|---|
committer | Jogi Hofmüller <jogi@mur.at> | 2011-08-11 14:55:29 +0000 |
commit | 2484b435ba05db53b30f442edfcdb7a1c534d343 (patch) | |
tree | 13c508d432083131b7584bc50c62bc1da9f66278 /tools/mmd | |
parent | - added timestamp of latest SSP in data base to debug info (diff) |
- changed output of debug times from timestamp to timestring
git-svn-id: https://svn.spreadspace.org/mur.sat@129 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'tools/mmd')
-rw-r--r-- | tools/mmd/MmdWidgets.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/mmd/MmdWidgets.py b/tools/mmd/MmdWidgets.py index 89e04b0..44bbe69 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, - debug_info.status, - debug_info.expires, - debug_info.renewal, - time.strftime ('%s'), + 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'))), user_location.name, user_location.longitude, user_location.latitude, - debug_info.satellite.getLatestSSP()['timestamp']) + time.strftime ('%c', time.localtime (debug_info.satellite.getLatestSSP()['timestamp']))) else: debug = '' |