diff --git a/lib/pure/times.nim b/lib/pure/times.nim index e69357597d..0b77f02c57 100644 --- a/lib/pure/times.nim +++ b/lib/pure/times.nim @@ -1068,10 +1068,7 @@ const secondsInMin = 60 secondsInHour = 60*60 secondsInDay = 60*60*24 - -const epochStartYear = 1970 - leapYearsSinceEpoch = countLeapYears(epochStartYear) proc getDayOfWeek*(day, month, year: int): WeekDay = ## Returns the day of the week enum from day, month and year.