You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2014/07/08 23:49:31 UTC

git commit: [#7508] Added project creation date to JSON response

Repository: allura
Updated Branches:
  refs/heads/master 948e6cad8 -> 051b60d02


[#7508] Added project creation date to JSON response


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/051b60d0
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/051b60d0
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/051b60d0

Branch: refs/heads/master
Commit: 051b60d025b5cc07be031c7e2f9ccfb7aa7204ae
Parents: 948e6ca
Author: Alexander Luberg <al...@slashdotmedia.com>
Authored: Mon Jul 7 22:07:34 2014 +0000
Committer: Dave Brondsema <db...@slashdotmedia.com>
Committed: Tue Jul 8 21:49:06 2014 +0000

----------------------------------------------------------------------
 Allura/allura/model/project.py | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/051b60d0/Allura/allura/model/project.py
----------------------------------------------------------------------
diff --git a/Allura/allura/model/project.py b/Allura/allura/model/project.py
index 7f43849..c28cc8e 100644
--- a/Allura/allura/model/project.py
+++ b/Allura/allura/model/project.py
@@ -1074,6 +1074,7 @@ class Project(SearchIndexable, MappedClass, ActivityNode, ActivityObject):
             url=h.absurl(self.url()),
             private=self.private,
             short_description=self.short_description,
+            creation_date=plugin.ProjectRegistrationProvider.get().registration_date(self).strftime('%Y-%m-%d'),
             summary=self.summary,
             external_homepage=self.external_homepage,
             video_url=self.video_url,