From 4286be12926fdaa297e4802b58bcbfde2229f9f7 Mon Sep 17 00:00:00 2001 From: DEvil0000 Date: Wed, 16 Jul 2025 15:27:38 +0200 Subject: [PATCH] quick fixing time format for jenkins plugin xunit --- lib/formatter.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/formatter.ex b/lib/formatter.ex index 7483d8d..c18e599 100644 --- a/lib/formatter.ex +++ b/lib/formatter.ex @@ -116,7 +116,7 @@ defmodule JUnitFormatter do @doc "Formats time from nanos to seconds" @spec format_time(integer) :: binary - def format_time(time), do: ~c"~.4f" |> :io_lib.format([time / 1_000_000]) |> List.to_string() + def format_time(time), do: ~c"~.3f" |> :io_lib.format([time / 1_000_000]) |> List.to_string() @doc """ Helper function to get the full path of the generated report file.