From 174bfdc1111fb480b441cec8be5746d087e8a86e Mon Sep 17 00:00:00 2001 From: Ricky Kresslein Date: Tue, 14 Jun 2022 10:28:46 +0300 Subject: Use unstable-locales --- src/ui/task_details.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ui/task_details.rs') diff --git a/src/ui/task_details.rs b/src/ui/task_details.rs index b8771ac..685e261 100755 --- a/src/ui/task_details.rs +++ b/src/ui/task_details.rs @@ -126,6 +126,7 @@ impl FurTaskDetails { task_box.set_homogeneous(true); let start_time = DateTime::parse_from_rfc3339(&task.start_time).unwrap(); + Local.from_local_datetime(&start_time).unwrap(); let mut start_time_str = start_time.format("%H:%M:%S").to_string(); if !settings_manager::get_bool("show-seconds") { start_time_str = start_time.format("%H:%M").to_string(); -- cgit 1.4.1