From 05ad0421dbc0628e26af5282da88de84cc896f19 Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Wed, 17 Dec 2025 13:59:19 -0500 Subject: [PATCH] timestamp_ns.pp_debug: use full RFC3339 to print timestamps it's easier to copy/paste or post-process, it's still very readable, and you can see the microseconds. --- src/util/timestamp_ns.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/timestamp_ns.ml b/src/util/timestamp_ns.ml index 5a8eae63..89c08b5d 100644 --- a/src/util/timestamp_ns.ml +++ b/src/util/timestamp_ns.ml @@ -18,4 +18,4 @@ let pp_debug out (self : t) = | Some span -> (match Ptime.add_span Ptime.epoch span with | None -> Format.fprintf out "ts: <%Ld ns>" self - | Some ptime -> Ptime.pp_human () out ptime) + | Some ptime -> Ptime.pp_rfc3339 ~space:false ~frac_s:6 () out ptime)