Skip to main content

next_slots

async fn next_slots(
    conn: &mut PgConnection,
    now: DateTime<Utc>,
    first_seen_at: &[DateTime<Utc>],
) -> ModelResult<Vec<DateTime<Utc>>>
Expand description

Read off the database’s time zone data, which knows when Finland changes to and from summer time. Neither slot falls in the hour a change skips or repeats.