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:
parent
ec42a674d6
commit
d2a2cc4223
1 changed files with 2 additions and 2 deletions
|
@ -94,7 +94,7 @@ by calling the form controller's update method
|
||||||
False
|
False
|
||||||
|
|
||||||
>>> list(workItems)
|
>>> 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',
|
{'comment': u'Comment', 'end': 1230491700, 'description': u'Description',
|
||||||
'created': ..., 'creator': '33', 'start': 1230487200,
|
'created': ..., 'creator': '33', 'start': 1230487200,
|
||||||
'duration': 4500, 'effort': 900}>]
|
'duration': 4500, 'effort': 900}>]
|
||||||
|
@ -171,7 +171,7 @@ So we use the PersonWorkItems view, assigning john to the query.
|
||||||
>>> input = dict()
|
>>> input = dict()
|
||||||
>>> work = PersonWorkItems(query, TestRequest(form=input))
|
>>> work = PersonWorkItems(query, TestRequest(form=input))
|
||||||
>>> work.listWorkItems()
|
>>> 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',
|
{'start': 1232352000, 'created': ..., 'title': u'Install Zope',
|
||||||
'creator': '33'}>]
|
'creator': '33'}>]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue