diff --git a/source/utilities.rs b/source/utilities.rs index e9e4288..9b32c95 100644 --- a/source/utilities.rs +++ b/source/utilities.rs @@ -65,5 +65,5 @@ pub fn get_env_var(key: &str) -> Result { /// Create a [`NaiveDate`] for today. pub fn today() -> NaiveDate { - Utc::now().date().naive_utc() + Utc::now().date_naive() }