Skip to content

Commit

Permalink
Accommodate 15-minutes-after meeting
Browse files Browse the repository at this point in the history
In addition to meetings that start 30 minutes after the session
adjourns, there are now meetings that start 14 minutes after the
session adjourns. Identify these and handle them accordingly.
  • Loading branch information
waldoj committed Jan 19, 2018
1 parent 929a1ae commit b9ce547
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions cron/meetings.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,16 @@
.' adjourns';
unset($meeting['time']);
}
elseif (
stristr($meeting['description'], '15 min aft')
||
stristr($meeting['description'], '15 minutes after')
)
{
$meeting['timedesc'] = 'Fifteen minutes after the '.ucfirst($meeting['chamber'])
.' adjourns';
unset($meeting['time']);
}
elseif (stristr($meeting['description'], '1 and 1/2 hours after'))
{
$meeting['timedesc'] = 'An hour and a half after the '.ucfirst($meeting['chamber'])
Expand Down

0 comments on commit b9ce547

Please sign in to comment.