[evmbin] fix time formatting (#11060)
This commit is contained in:
parent
61a7c30ed5
commit
bceb1d5691
@ -24,7 +24,7 @@ pub mod simple;
|
||||
|
||||
/// Formats duration into human readable format.
|
||||
pub fn format_time(time: &Duration) -> String {
|
||||
format!("{}.{:.9}s", time.as_secs(), time.subsec_nanos())
|
||||
format!("{}.{:09}s", time.as_secs(), time.subsec_nanos())
|
||||
}
|
||||
|
||||
/// Formats the time as microseconds.
|
||||
|
Loading…
Reference in New Issue
Block a user