You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by ww...@apache.org on 2014/01/15 23:03:00 UTC
git commit: [#7046] Using different published date format. Fixes
FF/Mozilla
Updated Branches:
refs/heads/ww/7046 [created] 20e98a60e
[#7046] Using different published date format. Fixes FF/Mozilla
Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/20e98a60
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/20e98a60
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/20e98a60
Branch: refs/heads/ww/7046
Commit: 20e98a60e113134ecab93860bafe290b5d213751
Parents: 05f5804
Author: Wayne Witzel III <ww...@slashdotmedia.com>
Authored: Wed Jan 15 22:02:25 2014 +0000
Committer: Wayne Witzel III <ww...@slashdotmedia.com>
Committed: Wed Jan 15 22:02:25 2014 +0000
----------------------------------------------------------------------
ForgeActivity/forgeactivity/main.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/20e98a60/ForgeActivity/forgeactivity/main.py
----------------------------------------------------------------------
diff --git a/ForgeActivity/forgeactivity/main.py b/ForgeActivity/forgeactivity/main.py
index a1bb21d..e7efc9f 100644
--- a/ForgeActivity/forgeactivity/main.py
+++ b/ForgeActivity/forgeactivity/main.py
@@ -191,7 +191,7 @@ class ForgeActivityRestController(BaseController):
'activity_extras': {},
},
'timeline': [{
- 'published': '%s UTC' % a.published,
+ 'published': a.published.strftime('%Y-%m-%dT%H:%M:%S'),
'actor': a.actor._deinstrument(),
'verb': a.verb,
'obj': a.obj._deinstrument(),