From 8dcb9c6fff82f9e353e0f92b417dd803199f4257 Mon Sep 17 00:00:00 2001 From: Joris Date: Mon, 17 Apr 2023 20:50:58 +0200 Subject: Upgrade dependencies --- src/controller/incomes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/controller') diff --git a/src/controller/incomes.rs b/src/controller/incomes.rs index ea7f1cf..b7fb3ed 100644 --- a/src/controller/incomes.rs +++ b/src/controller/incomes.rs @@ -70,7 +70,7 @@ async fn create_form_feedback( context.insert("connected_user", &wallet.user); context.insert("users", &users); context.insert("query", &query); - context.insert("current_month", &Utc::today().naive_utc().month()); + context.insert("current_month", &Utc::now().date_naive().month()); context.insert("months", &MONTHS); context.insert("form", &form); context.insert("error", &error); -- cgit v1.2.3