diff options
| author | Nathan Perry <np@nathanperry.dev> | 2020-09-26 16:25:43 -0400 |
|---|---|---|
| committer | Nathan Perry <np@nathanperry.dev> | 2020-09-26 16:25:43 -0400 |
| commit | dabb00ad4dda679e37dde1827f2b135c9183310c (patch) | |
| tree | 77cf107ba581c0de55e3a1c0f353989f89036801 | |
| parent | 1b01a8a8c86de0e5d958ae5a62c9b7e98ac7d5e3 (diff) | |
pianoman: support 9am or 9pm
| -rw-r--r-- | src/commands/today/pianoman.rs | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/src/commands/today/pianoman.rs b/src/commands/today/pianoman.rs index 5cc7382..fa3ac7e 100644 --- a/src/commands/today/pianoman.rs +++ b/src/commands/today/pianoman.rs @@ -1,7 +1,8 @@ use super::prelude::*; lazy_static! { - static ref TARGET_TIME: chrono::NaiveTime = chrono::NaiveTime::from_hms(21, 0, 0); + static ref NINE_AM: chrono::NaiveTime = chrono::NaiveTime::from_hms(9, 0, 0); + static ref NINE_PM: chrono::NaiveTime = chrono::NaiveTime::from_hms(21, 0, 0); static ref PIANOMANS: Vec<TodayArgs> = vec