fix leading zeros in timestamp formatting
This commit is contained in:
parent
634389125d
commit
a37edf2112
|
@ -120,7 +120,7 @@ impl Display for LogMessage<'_> {
|
|||
use chrono::Timelike;
|
||||
write!(
|
||||
f,
|
||||
"{:02}:{:02}:{:02} {:03.3} ",
|
||||
"{:02}:{:02}:{:02} {:07.3} ",
|
||||
self.timestamp.hour(),
|
||||
self.timestamp.minute(),
|
||||
self.timestamp.second(),
|
||||
|
|
Loading…
Reference in New Issue