This is an automated email from the ASF dual-hosted git repository. sebb 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 665f019f Show time since meeting 665f019f is described below commit 665f019fd925e152450248e284026602c30c3d26 Author: Sebb <s...@apache.org> AuthorDate: Fri Apr 12 17:46:57 2024 +0100 Show time since meeting --- www/members/invitations.cgi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/www/members/invitations.cgi b/www/members/invitations.cgi index 50027712..46369198 100755 --- a/www/members/invitations.cgi +++ b/www/members/invitations.cgi @@ -115,6 +115,7 @@ def match_person(hash, id, name, mails) return nil end +meeting_end = ASF::MeetingUtil.meeting_end remain = ASF::MeetingUtil.application_time_remaining # produce HTML output of reports, highlighting ones that have not (yet) @@ -158,6 +159,8 @@ _html do _b "Applications close in #{remain[:days]} days and #{remain[:hours]} hours" else _b "Applications can no longer be accepted, sorry." + _ "The meeting ended at #{Time.at(meeting_end).getutc.strftime('%Y-%m-%d %H:%M %Z')}." + _ "This was #{remain[:days]} days and #{remain[:hours]} hours ago." end end }