diff --git a/src/main.rs b/src/main.rs index 9d6930a..a19dd56 100644 --- a/src/main.rs +++ b/src/main.rs @@ -20,14 +20,14 @@ fn print_time(output: &mut T) -> LogtimesResult where T: Write, { - let date_now = Local::now().format("%H:%M:%S%.9f"); + let date_now = Local::now().format("%H:%M:%S%.6f"); write!(output, "[{}] ", &date_now) } #[inline(always)] fn print_time_color(output: &mut StdoutLock) -> Result<(), std::io::Error> { - let date_now = Local::now().format("%H:%M:%S%.9f"); + let date_now = Local::now().format("%H:%M:%S%.6f"); let color_green = "\x1b\x5b\x30\x3b\x33\x32\x6d"; let color_off = "\x1b\x5b\x30\x6d";