Update deprecated function.

This commit is contained in:
Bauke 2023-06-08 13:42:38 +02:00
parent bcf55aea1e
commit be1c403112
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 1 additions and 1 deletions

View File

@ -65,5 +65,5 @@ pub fn get_env_var(key: &str) -> Result<String> {
/// Create a [`NaiveDate`] for today.
pub fn today() -> NaiveDate {
Utc::now().date().naive_utc()
Utc::now().date_naive()
}