Skip to content

Commit 10085cf

Browse files
committed
Fix dialyzer errors
1 parent 52c993a commit 10085cf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/cldr/calendar/calendars/julian_compiler.ex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ defmodule Cldr.Calendar.Julian.Compiler do
3434
end
3535

3636
def naive_datetime_to_iso_days(year, month, day, 0, 0, 0, {0, 0}) do
37-
{date_to_iso_days(year, month, day), {0, 0}}
37+
{date_to_iso_days(year, month, day), {0, 6}}
3838
end
3939

4040
# Adjust the year to be this calendars starting year
@@ -50,7 +50,7 @@ defmodule Cldr.Calendar.Julian.Compiler do
5050

5151
def naive_datetime_from_iso_days({iso_days, _}) do
5252
{year, month, day} = date_from_iso_days(iso_days)
53-
{year, month, day, 0, 0, 0, {0, 0}}
53+
{year, month, day, 0, 0, 0, {0, 6}}
5454
end
5555

5656
def days_in_year(year) do
@@ -64,7 +64,7 @@ defmodule Cldr.Calendar.Julian.Compiler do
6464
# days if month for month 1.
6565

6666
def days_in_month(month) do
67-
{:error, :unresolved}
67+
{:error, :undefined}
6868
end
6969

7070
def days_in_month(year, ordinal_month) do
@@ -107,7 +107,7 @@ defmodule Cldr.Calendar.Julian.Compiler do
107107
end
108108

109109
def quarter(year, quarter) do
110-
110+
{:error, :not_defined}
111111
end
112112

113113
def month(year, ordinal_month) do

0 commit comments

Comments
 (0)