whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] branch master updated: support same day posting of next board report
Date Wed, 19 May 2021 23:35:18 GMT
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 4e71f12  support same day posting of next board report
4e71f12 is described below

commit 4e71f1282ef97c5201bfdcd258ad4e3433ec7dfd
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Wed May 19 19:34:45 2021 -0400

    support same day posting of next board report
---
 www/board/agenda/views/actions/potential-actions.json.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/board/agenda/views/actions/potential-actions.json.rb b/www/board/agenda/views/actions/potential-actions.json.rb
index 8b896f1..48e4a8b 100644
--- a/www/board/agenda/views/actions/potential-actions.json.rb
+++ b/www/board/agenda/views/actions/potential-actions.json.rb
@@ -8,7 +8,7 @@ if ENV['RACK_ENV'] == 'test'
 else
   today = Date.today.strftime("#{FOUNDATION_BOARD}/board_agenda_%Y_%m_%d.txt")
   base = Dir["#{FOUNDATION_BOARD}/board_agenda_*.txt"].
-   select {|file| file < today}.sort.last
+   select {|file| file <= today}.sort.last
 end
 
 parsed = ASF::Board::Agenda.parse(IO.read(base), true)

Mime
View raw message