summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gentoobrowse/views/newebuilds.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/gentoobrowse/views/newebuilds.xml b/gentoobrowse/views/newebuilds.xml
index d27ee70..0ba5886 100644
--- a/gentoobrowse/views/newebuilds.xml
+++ b/gentoobrowse/views/newebuilds.xml
@@ -3,7 +3,7 @@
<xi:include href="../datasources/postgres.xml" />
<sqlview name="newebuilds" recordname="ebuild" datasource="postgres">
<sql>
- SELECT filename, EXTRACT('day' FROM NOW() - f.firstseen) AS age, description,
+ SELECT filename, EXTRACT('day' FROM NOW()) - EXTRACT('day' FROM f.firstseen) AS age, description,
moddate, p.name AS pkgname, c.name AS catname
FROM ebuilds e, files f, packages p, categories c
WHERE e.ebuildid = f.fileid