You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2016/08/19 12:53:24 UTC
[whimsy] branch master updated: Docn
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 <se...@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" <co...@whimsical.apache.org>'].