use time::{Month, OffsetDateTime}; pub fn print_startup_msg() { // now or fallback to utc let now = OffsetDateTime::now_local().unwrap_or_else(|_| OffsetDateTime::now_utc()); if now.month() == Month::June { println!("Hello, thanks for using iOwO and happy pride month!"); println!("Why pride month is important in {}", now.year()); } else { println!("Hello, thanks for using iOwO! :3"); } }