Author: eallen
Date: 2008-10-08 17:10:44 -0400 (Wed, 08 Oct 2008)
New Revision: 2608
Modified:
mgmt/trunk/cumin/python/cumin/client.py
Log:
Display Session.expire_time as a dateTime object and not a long
Modified: mgmt/trunk/cumin/python/cumin/client.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/client.py 2008-10-08 18:30:55 UTC (rev 2607)
+++ mgmt/trunk/cumin/python/cumin/client.py 2008-10-08 21:10:44 UTC (rev 2608)
@@ -358,7 +358,7 @@
return "Expires"
def render_value(self, session, value):
- return fmt_datetime(datetime.fromtimestamp(value / 1000000000))
+ return fmt_datetime(value)
class StatusColumn(SqlTableColumn):
def render_title(self, session, data):