Skip to content

Commit b64ea79

Browse files
author
Marco Polita
committed
removes deprecated time unit
1 parent a9249d4 commit b64ea79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/aws_ex_ray/util.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
@spec now() :: float
88
def now() do
9-
ms = DateTime.utc_now |> DateTime.to_unix(:microseconds)
9+
ms = DateTime.utc_now |> DateTime.to_unix(:microsecond)
1010
ms / 1_000_000
1111
end
1212

0 commit comments

Comments
 (0)