We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ee2086 commit 138a7eaCopy full SHA for 138a7ea
1 file changed
lib/msgpack/decoder.ex
@@ -233,7 +233,6 @@ defmodule Msgpack.Decoder do
233
base_datetime = NaiveDateTime.from_erl!(erlang_datetime)
234
235
if nanoseconds > 0 do
236
- # NaiveDateTime.add(base_datetime, nanoseconds, :nanosecond)
237
microseconds = div(nanoseconds, 1000)
238
%{base_datetime | microsecond: {microseconds, 6}}
239
else
@@ -252,7 +251,6 @@ defmodule Msgpack.Decoder do
252
251
253
254
255
256
257
258
0 commit comments