whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Docn
Date Fri, 19 Aug 2016 12:53:24 GMT
This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git

The following commit(s) were added to refs/heads/master by this push:
       new  ec847ae   Docn
ec847ae is described below

commit ec847ae004420ac1f26566fc0cca507fc0068cc4
Author: Sebb <sebb@apache.org>
AuthorDate: Fri Aug 19 13:53:15 2016 +0100

    Docn
---
 lib/whimsy/asf/podlings.rb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/whimsy/asf/podlings.rb b/lib/whimsy/asf/podlings.rb
index eb9f6d1..fd4725a 100644
--- a/lib/whimsy/asf/podlings.rb
+++ b/lib/whimsy/asf/podlings.rb
@@ -48,6 +48,7 @@ module ASF
     # parse startdate
     def startdate
       return unless @startdate
+      # assume 15th (mid-month) if no day specified
       return Date.parse("#@startdate-15") if @startdate.length < 8
       Date.parse(@startdate)
     rescue ArgumentError
@@ -57,6 +58,7 @@ module ASF
     # parse enddate
     def enddate
       return unless @enddate
+      # assume 15th (mid-month) if no day specified
       return Date.parse("#@enddate-15") if @enddate.length < 8
       Date.parse(@enddate)
     rescue ArgumentError

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <commits@whimsical.apache.org>'].

Mime
View raw message