Check-in [dab84c22ee]
Not logged in
Overview

SHA1 Hash:dab84c22ee6d299d00bf2658a1c340ff25c613db
Date: 2008-09-27 18:52:37
User: stephan
Comment:corrected 'Duration of Project' to round up, so a 2-day-old project doesn't show up as 1 day old
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified src/stat.c from [0523d46255] to [b7851e999c].

@@ -83,11 +83,11 @@
   @ <tr><th>Number&nbsp;Of&nbsp;Tickets:</th><td>
   n = db_int(0, "SELECT count(*) FROM tag WHERE +tagname GLOB 'ticket-*'");
   @ %d(n)
   @ </td></tr>
   @ <tr><th>Duration&nbsp;Of&nbsp;Project:</th><td>
-  n = db_int(0, "SELECT julianday('now') - (SELECT min(mtime) FROM event)");
+  n = db_int(0, "SELECT julianday('now') - (SELECT min(mtime) FROM event) + 0.99");
   @ %d(n) days
   @ </td></tr>
   @ <tr><th>Project&nbsp;ID:</th><td>
   @ %h(db_get("project-code",""))
   @ </td></tr>