diff options
author | coffeepots <coffeepots@users.noreply.github.com> | 2015-07-31 10:20:21 +0100 |
---|---|---|
committer | coffeepots <coffeepots@users.noreply.github.com> | 2015-07-31 10:20:21 +0100 |
commit | f9d909bb947749666c0241f64bd8adef8c071a9b (patch) | |
tree | 82f1d7c3463251d9ae06513ee6048a0d16c3da27 | |
parent | 5e0b8d5ef6ce616361cedf963afde667edfadb89 (diff) | |
download | Nim-f9d909bb947749666c0241f64bd8adef8c071a9b.tar.gz |
Removed unused leapYearsSinceEpoch
-rw-r--r-- | lib/pure/times.nim | 3 |
1 files changed, 0 insertions, 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. |