Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display 90 days of meetings with video links #38

Open
inghamn opened this issue May 17, 2023 · 1 comment
Open

Display 90 days of meetings with video links #38

inghamn opened this issue May 17, 2023 · 1 comment
Assignees

Comments

@inghamn
Copy link
Member

inghamn commented May 17, 2023

Due to upcoming state legislation (IN HB1167) we must provide links to recorded videos of meetings that happened in the last 90 days.

Right now, this module lists a calendar year's worth of meetings, rather than meetings from the past 90 days. Also, we do not include links to any videos of the meetings.

@inghamn
Copy link
Member Author

inghamn commented May 17, 2023

The onboard.meetingYears.node-$nid route should list the most recent 90 days of meetings before listing the links to each year of meetings listings.

https://bloomington.in.gov/boards/public-works/meetings

This route should become the default place we link people to, rather than linking them to the route displaying the current calendar year's meetings.

inghamn added a commit that referenced this issue May 22, 2023
@inghamn inghamn self-assigned this May 22, 2023
inghamn added a commit that referenced this issue May 23, 2023
inghamn added a commit that referenced this issue May 23, 2023
inghamn added a commit that referenced this issue May 24, 2023
We want today's meeting to always be in the upcoming meetings section, even if the meeting took place earlier in the day.

Updates #38
inghamn added a commit that referenced this issue May 24, 2023
We want today's meeting to always be in the upcoming meetings section, even if the meeting took place earlier in the day.

Updates #38
inghamn added a commit that referenced this issue Jul 15, 2024
Not all meeting files have Google calendar event data.  It is still possible to manually create meeting files for meetings that are not on the calendar.
Meeting files without Google event data were treated "NOW", since new \DateTime() with an empty string generates the current datetime.

We now use the date from the $meetings array index, rather than attempting to read Google event data at all.

Because we may not have time information, the past/upcoming divide is no longer the current time; but rather the previous midnight.  This means meetings on the current day are considered upcoming.

Updates #38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant