[github-activity] typo

This commit is contained in:
streetturtle 2021-01-24 14:58:04 -05:00
parent 45f92c220b
commit 31232a556d
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ local function parse_date(date_str)
return os.time{year = y, month = m, day = d, hour = h, min = min, sec = sec} return os.time{year = y, month = m, day = d, hour = h, min = min, sec = sec}
end end
--- Converts seconds to "time ago" represenation, like '1 hour ago' --- Converts seconds to "time ago" representation, like '1 hour ago'
local function to_time_ago(seconds) local function to_time_ago(seconds)
local days = seconds / 86400 local days = seconds / 86400
if days > 1 then if days > 1 then