This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new f65329a  * www/board/agenda/routes.rb   Change meeting duration to 1 
hour
     new 293d25d  Merge pull request #118 from sstriker/agenda-adjournment
f65329a is described below

commit f65329a160c8aa1f0eed7c98228aedb3ee5242f5
Author: Sander Striker <stri...@apache.org>
AuthorDate: Tue May 18 16:00:36 2021 +0200

    * www/board/agenda/routes.rb
      Change meeting duration to 1 hour
---
 www/board/agenda/routes.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/www/board/agenda/routes.rb b/www/board/agenda/routes.rb
index 8e26a80..d967467 100755
--- a/www/board/agenda/routes.rb
+++ b/www/board/agenda/routes.rb
@@ -525,7 +525,8 @@ get '/new' do
   @tzlink = ASF::Board.tzlink(localtime)
   zone = ASF::Board::TIMEZONE.name
   @start_time = localtime.strftime('%H:%M') + ' ' + zone
-  @adjournment = (localtime + 2.hours).strftime('%H:%M') + ' ' + zone
+  duration = 1.hours
+  @adjournment = (localtime + duration).strftime('%H:%M') + ' ' + zone
   @prev_month = @meeting.to_date.prev_month.strftime('%B')
 
   # retrieve latest committee info

Reply via email to