From 5d10ae6499350617e853c77382ae1775535c3646 Mon Sep 17 00:00:00 2001 From: Ricky Kresslein Date: Thu, 16 Jun 2022 12:26:03 +0300 Subject: Removed libc_strftime --- src/ui/tasks_page.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/ui/tasks_page.rs') diff --git a/src/ui/tasks_page.rs b/src/ui/tasks_page.rs index bdee606..911b005 100755 --- a/src/ui/tasks_page.rs +++ b/src/ui/tasks_page.rs @@ -20,7 +20,6 @@ use chrono::{DateTime, Duration, Local}; use gettextrs::*; use gtk::subclass::prelude::*; use gtk::{glib, prelude::*}; -use libc_strftime::{epoch, strftime_local}; use crate::database::{self, SortOrder, TaskSort}; use crate::settings_manager; @@ -88,10 +87,6 @@ impl FurTasksPage { pub fn build_task_list(&self) { let imp = imp::FurTasksPage::from_instance(&self); - let now = epoch(); // most likely a u64 - let local = strftime_local("%h %e", now); - println!("On est: {}", local); - let tasks_list = database::retrieve(TaskSort::StartTime, SortOrder::Descending).unwrap(); let mut uniq_date_list: Vec = Vec::new(); -- cgit 1.4.1