From af5a57c08ae69e2b19689713c29a3f2467e6dd90 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Thu, 22 Dec 2011 14:33:45 -0500 Subject: [PATCH] convert slice record 'expires' field from utc to human readable format --- sfa/plc/pldriver.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sfa/plc/pldriver.py b/sfa/plc/pldriver.py index 1eaa7e37..e9f818c8 100644 --- a/sfa/plc/pldriver.py +++ b/sfa/plc/pldriver.py @@ -400,6 +400,9 @@ class PlDriver (Driver): if site_id in sites] site_hrns = [".".join([auth_hrn, lbase]) for lbase in login_bases] record['sites'] = site_hrns + + if 'expires' in record: + record['expires'] = utcparse(record['expires']) return records -- 2.43.0