Fossil

Check-in [1d70fb4701]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:added a reminder/todo regarding a "not always valid" calculation in /stats_report.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 1d70fb470117713f3716901939a85b1a4ccdb576
User & Date: stephan 2013-05-08 16:54:56.508
Context
2013-05-08
16:57
Fixed an array-bounds access violation in Th_SubCommand. Problem reported via the mailing list. ... (check-in: 05ec4ed3c4 user: stephan tags: trunk)
16:54
added a reminder/todo regarding a "not always valid" calculation in /stats_report. ... (check-in: 1d70fb4701 user: stephan tags: trunk)
04:12
Add setting TH1 command, with tests. Improve handling of the TH1 trace log. ... (check-in: 0264475c4a user: mistachkin tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/timeline.c.
1909
1910
1911
1912
1913
1914
1915



1916
1917
1918
1919
1920
1921
1922
    rowClass = ++nRowNumber % 2;
    nEventTotal += nCount;
    nEventsPerYear += nCount;
    @<tr class='row%d(rowClass)'>
    @ <td>
    if(includeMonth){
      @ <a href="%s(g.zTop)/timeline?ym=%s(zTimeframe)&n=%d(nCount)"



      @  target="_new">%s(zTimeframe)</a>
    }else {
      @ %s(zTimeframe)
    }
    @ </td><td>%d(nCount)</td>
    @ <td>
    @ <div class='statistics-report-graph-line'







>
>
>







1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
    rowClass = ++nRowNumber % 2;
    nEventTotal += nCount;
    nEventsPerYear += nCount;
    @<tr class='row%d(rowClass)'>
    @ <td>
    if(includeMonth){
      @ <a href="%s(g.zTop)/timeline?ym=%s(zTimeframe)&n=%d(nCount)"
      /* Reminder: n=nCount is not actually correct for bymonth unless
         that was the only user who caused events.
      */
      @  target="_new">%s(zTimeframe)</a>
    }else {
      @ %s(zTimeframe)
    }
    @ </td><td>%d(nCount)</td>
    @ <td>
    @ <div class='statistics-report-graph-line'