Skip to content

Commit

Permalink
Are membership applications still valid?
Browse files Browse the repository at this point in the history
  • Loading branch information
sebbASF committed Mar 12, 2024
1 parent bfced02 commit bd286d9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/whimsy/asf/meeting-util.rb
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,12 @@ def self.application_time_remaining
{hoursremain: remain, days: remain/24, hours: remain%24}
end

# Are membership applications still valid?
# return: true/false
def self.applications_valid
self.application_time_remaining[:hoursremain] > 0
end

end
end

Expand Down

0 comments on commit bd286d9

Please sign in to comment.