`day` parameter overflow for the `date` function, simple leap year handling

This is also incorrect in the docs, the above function would be of type

date : (Int, Month, Int) -> Date

which is not the case. The docs should say date y m d turns the year y, month m, and day d into a Date value.

1 Like