aboutsummaryrefslogtreecommitdiffstats
path: root/generate-html.lua
diff options
context:
space:
mode:
Diffstat (limited to 'generate-html.lua')
-rwxr-xr-xgenerate-html.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/generate-html.lua b/generate-html.lua
index e3038ff..063107a 100755
--- a/generate-html.lua
+++ b/generate-html.lua
@@ -117,7 +117,7 @@ function get_status(fm, fb, date, mirror, branch, repo, arch)
local age = 0
if type(mirror.modified) == "number" and
master.modified ~= mirror.modified then
- age = date - master.modified
+ age = master.modified - mirror.modified
end
res = format_status(mirror.status, age)
end