Skip to content

Commit 051bfa9

Browse files
authored
Event milliseconds & ISO8601 formatting (#601)
1 parent 45dcf2f commit 051bfa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/honeybadger.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ defmodule Honeybadger do
361361

362362
@spec event(map()) :: :ok
363363
def event(event_data) do
364-
ts = DateTime.utc_now() |> DateTime.to_string()
364+
ts = DateTime.utc_now(:millisecond) |> DateTime.to_iso8601()
365365

366366
data =
367367
event_data

0 commit comments

Comments
 (0)