fix leading zeros in timestamp formatting

This commit is contained in:
Milo Turner 2020-03-10 18:33:47 -04:00
parent 634389125d
commit a37edf2112
1 changed files with 1 additions and 1 deletions

View File

@ -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(),