View source: R/utils_date_time.R
meeting_timer | R Documentation |
Partition a meeting into evenly distributed sections based on how much time is left between when intros end and the end of the meeting
meeting_timer(
start_hms = "17:40:00",
t4q = lubridate::minutes(10),
m_length = lubridate::minutes(75),
sections = 4,
intros_end = lubridate::now()
)
start_hms |
|
t4q |
|
m_length |
|
sections |
|
intros_end |
|
list
With:
each_section
time allotted to each section
Section X
The end time for each section
end
The end time
# If the meeting started 10 minutes ago and the intros just ended
meeting_start_time <- (lubridate::now() - lubridate::minutes(10)) |> as.character() |> stringr::str_extract("\\d{2}:\\d{2}:\\d{2}")
meeting_timer(meeting_start_time)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.