Skip to content

Commit 043f287

Browse files
committed
Fix date_to_iso_days
1 parent fd7ff3b commit 043f287

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/cldr/calendar/calendars/julian_compiler.ex

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,6 @@ defmodule Cldr.Calendar.Julian.Compiler do
2121

2222
defguard year_rollover(month, day) when month <= @new_year_starting_month and day < @new_year_starting_day
2323

24-
# Adjust the year to be a Jan 1st starting year and carry
25-
# on
26-
def date_to_iso_days(year, month, day) when year_rollover(month, day) do
27-
Cldr.Calendar.Julian.date_to_iso_days(year + 1, month, day)
28-
end
29-
3024
def date_to_iso_days(year, month, day) do
3125
Cldr.Calendar.Julian.date_to_iso_days(year, month, day)
3226
end

0 commit comments

Comments
 (0)