aboutsummaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/app.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/app.rs b/src/gui/app.rs
index e48c93a..aa8359a 100644
--- a/src/gui/app.rs
+++ b/src/gui/app.rs
@@ -41,7 +41,7 @@ impl App {
.build(),
);
- let today = chrono::offset::Local::now().naive_utc().date();
+ let today = chrono::offset::Local::now().naive_local().date();
// TODO: error handling
let start_date =
NaiveDate::from_isoywd_opt(today.year(), today.iso_week().week(), Weekday::Mon)