You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2019/06/26 01:10:36 UTC
[whimsy] branch master updated: try actually looking for minutes...
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 3c5aad3 try actually looking for minutes...
3c5aad3 is described below
commit 3c5aad38815a3059a0aade5ceed024796fe9fa4b
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Tue Jun 25 21:09:56 2019 -0400
try actually looking for minutes...
---
www/board/agenda/routes.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/board/agenda/routes.rb b/www/board/agenda/routes.rb
index 2066945..a5e7aba 100755
--- a/www/board/agenda/routes.rb
+++ b/www/board/agenda/routes.rb
@@ -479,7 +479,7 @@ get '/new' do
# Get list of unpublished and unapproved minutes
draft = YAML.load_file(Dir["#{AGENDA_WORK}/board_minutes*.yml"].sort.last)
- @minutes = dir("board_agenda_*.txt").
+ @minutes = dir("board_minutes_*.txt").
map {|file| Date.parse(file[/\d[_\d]+/].gsub('_', '-'))}.
reject {|date| date >= @meeting.to_date}.
reject {|date| draft[date.strftime('%B %d, %Y')] == 'approved'}