Skip to content

Commit 4c01913

Browse files
Ignore microsecond precision when validating shift date duration
1 parent a6ad2b8 commit 4c01913

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/lib/calendar/iso.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1710,7 +1710,7 @@ defmodule Calendar.ISO do
17101710
hour: 0,
17111711
minute: 0,
17121712
second: 0,
1713-
microsecond: {0, 0}
1713+
microsecond: {0, _precision}
17141714
}) do
17151715
[
17161716
month: year * 12 + month,

0 commit comments

Comments
 (0)