From: daurnimator Date: Wed, 6 Dec 2017 06:13:25 +0000 (+1100) Subject: luatz/timetable.lua: Remove unused year_length function X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/f7e8c83697ed526ddd93763dfde409c6d2c6391d?ds=sidebyside;hp=--cc luatz/timetable.lua: Remove unused year_length function --- f7e8c83697ed526ddd93763dfde409c6d2c6391d diff --git a/luatz/timetable.lua b/luatz/timetable.lua index 6bae913..812d497 100644 --- a/luatz/timetable.lua +++ b/luatz/timetable.lua @@ -33,10 +33,6 @@ local function is_leap ( y ) end end -local function year_length ( y ) - return is_leap ( y ) and 366 or 365 -end - local function month_length ( m , y ) if m == 2 then return is_leap ( y ) and 29 or 28