use local for displaying timestamps

git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3442 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
helmutm 2009-07-06 16:16:25 +00:00
parent ec42a674d6
commit d2a2cc4223

View file

@ -94,7 +94,7 @@ by calling the form controller's update method
False
>>> list(workItems)
[<WorkItem ['36', 1, '33', '2008-12-28 18:00', 'finished']:
[<WorkItem ['36', 1, '33', '2008-12-28 19:00', 'finished']:
{'comment': u'Comment', 'end': 1230491700, 'description': u'Description',
'created': ..., 'creator': '33', 'start': 1230487200,
'duration': 4500, 'effort': 900}>]
@ -171,7 +171,7 @@ So we use the PersonWorkItems view, assigning john to the query.
>>> input = dict()
>>> work = PersonWorkItems(query, TestRequest(form=input))
>>> work.listWorkItems()
[<WorkItem ['36', 2, '33', '2009-01-19 08:00', 'planned']:
[<WorkItem ['36', 2, '33', '2009-01-19 09:00', 'planned']:
{'start': 1232352000, 'created': ..., 'title': u'Install Zope',
'creator': '33'}>]