mirror of
https://github.com/ClementTsang/bottom.git
synced 2026-09-22 10:35:40 +00:00
deps: Update various dependencies (#358)
This commit is contained in:
@@ -1083,7 +1083,7 @@ pub fn convert_battery_harvest(
|
||||
None
|
||||
},
|
||||
duration_until_full: if let Some(secs_till_full) = battery_harvest.secs_until_full {
|
||||
let time = chrono::Duration::seconds(secs_till_full);
|
||||
let time = chrono::Duration::seconds(secs_till_full); // FIXME [DEP]: Can I get rid of chrono?
|
||||
let num_minutes = time.num_minutes() - time.num_hours() * 60;
|
||||
let num_seconds = time.num_seconds() - time.num_minutes() * 60;
|
||||
Some(format!(
|
||||
|
||||
Reference in New Issue
Block a user