From 87d92a93d8493e0264c381aa005bf9feaef976ed Mon Sep 17 00:00:00 2001 From: Nathan Perry Date: Fri, 25 Sep 2020 21:37:16 -0400 Subject: reorganize 'today' --- src/commands/today/nov_5.rs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/commands/today/nov_5.rs (limited to 'src/commands/today/nov_5.rs') diff --git a/src/commands/today/nov_5.rs b/src/commands/today/nov_5.rs new file mode 100644 index 0000000..30d4f79 --- /dev/null +++ b/src/commands/today/nov_5.rs @@ -0,0 +1,17 @@ +use super::prelude::*; + +pub fn nov_5(date: chrono::NaiveDate) -> TodayIter { + if (11, 5) != month_day(date) { + return Box::new(empty()); + } + + Box::new( + once( + TodayArgs { + url: "https://www.youtube.com/watch?v=LF1951pENdk", + start: Some(Duration::seconds(25)), + end: Some(Duration::seconds(39)), + } + ) + ) +} -- cgit v1.3.1