From 2484b435ba05db53b30f442edfcdb7a1c534d343 Mon Sep 17 00:00:00 2001 From: Jogi Hofmüller Date: Thu, 11 Aug 2011 14:55:29 +0000 Subject: - changed output of debug times from timestamp to timestring git-svn-id: https://svn.spreadspace.org/mur.sat@129 7de4ea59-55d0-425e-a1af-a3118ea81d4c --- tools/mmd/MmdWidgets.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tools') 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 = '' -- cgit v1.2.3