From 2651ce09d8662a672e02f3ce26de001afbea2340 2014-02-12 00:45:43 From: MinRK Date: 2014-02-12 00:45:43 Subject: [PATCH] fix a couple of datetime entries in the Hub --- diff --git a/IPython/parallel/controller/hub.py b/IPython/parallel/controller/hub.py index 176edfa..c1a8d0a 100644 --- a/IPython/parallel/controller/hub.py +++ b/IPython/parallel/controller/hub.py @@ -669,7 +669,7 @@ class Hub(SessionFactory): rheader = msg['header'] md = msg['metadata'] completed = rheader['date'] - started = md.get('started', None) + started = extract_dates(md.get('started', None)) result = { 'result_header' : rheader, 'result_metadata': md, @@ -775,7 +775,7 @@ class Hub(SessionFactory): if msg_id in self.tasks[eid]: self.tasks[eid].remove(msg_id) completed = header['date'] - started = md.get('started', None) + started = extract_dates(md.get('started', None)) result = { 'result_header' : header, 'result_metadata': msg['metadata'],