aboutsummaryrefslogtreecommitdiff
path: root/src/controller
diff options
context:
space:
mode:
authorJoris2023-04-17 20:50:58 +0200
committerJoris2023-04-17 20:50:58 +0200
commit8dcb9c6fff82f9e353e0f92b417dd803199f4257 (patch)
treeb6e4bc19a28fb0a6cca87054a2294ee4d246e747 /src/controller
parent75d96e813dbe48eda89321adccadccd40d9fbafa (diff)
Upgrade dependencies
Diffstat (limited to 'src/controller')
-rw-r--r--src/controller/incomes.rs2
1 files changed, 1 insertions, 1 deletions
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);