aboutsummaryrefslogtreecommitdiff
path: root/src/commands/today/wednesday.rs
blob: 8fec7073f99fb87e46dff7cd4c440cece9f5ff2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
use super::prelude::*;

pub fn wednesday(date: chrono::NaiveDate) -> TodayIter {
    if date.weekday() != chrono::Weekday::Wed {
        return Box::new(empty());
    }

    Box::new(
        once(
            by_url("https://www.youtube.com/watch?v=du-TY1GUFGk")
        )
    )
}