Skip to content

Commit

Permalink
Fix mtime
Browse files Browse the repository at this point in the history
  • Loading branch information
patricoferris committed Mar 28, 2023
1 parent ecfabf4 commit 0b5c73a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/irmin/logging.ml
Expand Up @@ -36,7 +36,7 @@ let reporter :
in
let ppf = match level with Logs.App -> Fmt.stdout | _ -> Fmt.stderr in
let with_stamp h tags k fmt =
let dt = Mtime.Span.to_us (Clock.count start_time) in
let dt = Mtime.Span.to_float_ns (Clock.count start_time) *. 1e-3 in
let source_pos_text, source_pos_colour =
match tags with
| None -> (Logs.Src.name src, `Magenta)
Expand Down

0 comments on commit 0b5c73a

Please sign in to comment.