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

pub fn thursday(date: chrono::NaiveDateTime) -> TodayIter {
    if date.weekday() != chrono::Weekday::Thu {
        return Box::new(empty());
    }

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