From f9d909bb947749666c0241f64bd8adef8c071a9b Mon Sep 17 00:00:00 2001 From: coffeepots Date: Fri, 31 Jul 2015 10:20:21 +0100 Subject: Removed unused leapYearsSinceEpoch --- lib/pure/times.nim | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/pure/times.nim b/lib/pure/times.nim index e69357597..0b77f02c5 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. -- cgit 1.4.1-2-gfad0