[CalendarServer-changes] [13820] CalendarServer/trunk/calendarserver/tools/dashboard.py
source_changes at macosforge.org
source_changes at macosforge.org
Fri Aug 1 14:05:21 PDT 2014
Revision: 13820
http://trac.calendarserver.org//changeset/13820
Author: cdaboo at apple.com
Date: 2014-08-01 14:05:21 -0700 (Fri, 01 Aug 2014)
Log Message:
-----------
Minor change to display.
Modified Paths:
--------------
CalendarServer/trunk/calendarserver/tools/dashboard.py
Modified: CalendarServer/trunk/calendarserver/tools/dashboard.py
===================================================================
--- CalendarServer/trunk/calendarserver/tools/dashboard.py 2014-08-01 20:29:27 UTC (rev 13819)
+++ CalendarServer/trunk/calendarserver/tools/dashboard.py 2014-08-01 21:05:21 UTC (rev 13820)
@@ -830,7 +830,7 @@
)
records["uptime"] = int(time.time() - records["start time"])
hours, mins = divmod(records["uptime"] / 60, 60)
- records["uptime"] = "{}:{:02d} hours".format(hours, mins)
+ records["uptime"] = "{}:{:02d} hh:mm".format(hours, mins)
del records["start time"]
for item, value in sorted(records.items(), key=lambda x: x[0]):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140801/c7874e85/attachment.html>
More information about the calendarserver-changes
mailing list