allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject git commit: [#7508] Added project creation date to JSON response
Date Tue, 08 Jul 2014 21:49:31 GMT
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 <aluberg@slashdotmedia.com>
Authored: Mon Jul 7 22:07:34 2014 +0000
Committer: Dave Brondsema <dbrondsema@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,


Mime
View raw message