We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bdaf05e commit b7ba848Copy full SHA for b7ba848
tokio-console/src/view/task.rs
@@ -204,8 +204,9 @@ impl TaskView {
204
if let Some(since) = task.since_wake(now) {
205
wakeups.reserve(3);
206
wakeups.push(Span::raw(", "));
207
- wakeups.push(bold("last woken:"));
208
- wakeups.push(Span::from(format!(" {:?} ago", since)));
+ wakeups.push(bold("last woken: "));
+ wakeups.push(styles.time_units(since, view::DUR_LIST_PRECISION, None));
209
+ wakeups.push(Span::raw(" ago"));
210
}
211
212
waker_stats.push(Spans::from(wakeups));
0 commit comments