community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1760144 - /comdev/reporter.apache.org/trunk/site/addrelease.py
Date Sat, 10 Sep 2016 09:51:47 GMT
Author: sebb
Date: Sat Sep 10 09:51:47 2016
New Revision: 1760144

URL: http://svn.apache.org/viewvc?rev=1760144&view=rev
Log:
Allow for localtime

Modified:
    comdev/reporter.apache.org/trunk/site/addrelease.py

Modified: comdev/reporter.apache.org/trunk/site/addrelease.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/addrelease.py?rev=1760144&r1=1760143&r2=1760144&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/addrelease.py (original)
+++ comdev/reporter.apache.org/trunk/site/addrelease.py Sat Sep 10 09:51:47 2016
@@ -44,7 +44,7 @@ err = None
 if date != None and version and committee:
     if committee in getPMCs(user) or isMember(user):
         rdata = getReleaseData(committee)
-        if date > 0:
+        if date >= 86400: # allow for local time just in case
             rdata[version] = date
         else: # it's 1970-01-01
             if version in rdata:



Mime
View raw message