Fix time format

This commit is contained in:
Jeremy Soller
2018-01-02 21:52:28 -07:00
parent 16f8738bff
commit b9ca3b7ce8
+1 -1
View File
@@ -63,7 +63,7 @@ impl SchemeMut for LogScheme {
if handle.buf.is_empty() {
let timestamp = Local::now();
let _ = write!(handle.buf, "{}", timestamp.format("%F %T.%f"));
let _ = write!(handle.buf, "{}", timestamp.format("%F %T%.f "));
handle.buf.extend_from_slice(&handle.context);
handle.buf.extend_from_slice(b": ");
}