Fossil SCM
added a reminder/todo regarding a "not always valid" calculation in /stats_report.
Commit
1d70fb470117713f3716901939a85b1a4ccdb576
Parent
0264475c4a0048c…
1 file changed
+3
+3
| --- src/timeline.c | ||
| +++ src/timeline.c | ||
| @@ -1911,10 +1911,13 @@ | ||
| 1911 | 1911 | nEventsPerYear += nCount; |
| 1912 | 1912 | @<tr class='row%d(rowClass)'> |
| 1913 | 1913 | @ <td> |
| 1914 | 1914 | if(includeMonth){ |
| 1915 | 1915 | @ <a href="%s(g.zTop)/timeline?ym=%s(zTimeframe)&n=%d(nCount)" |
| 1916 | + /* Reminder: n=nCount is not actually correct for bymonth unless | |
| 1917 | + that was the only user who caused events. | |
| 1918 | + */ | |
| 1916 | 1919 | @ target="_new">%s(zTimeframe)</a> |
| 1917 | 1920 | }else { |
| 1918 | 1921 | @ %s(zTimeframe) |
| 1919 | 1922 | } |
| 1920 | 1923 | @ </td><td>%d(nCount)</td> |
| 1921 | 1924 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -1911,10 +1911,13 @@ | |
| 1911 | nEventsPerYear += nCount; |
| 1912 | @<tr class='row%d(rowClass)'> |
| 1913 | @ <td> |
| 1914 | if(includeMonth){ |
| 1915 | @ <a href="%s(g.zTop)/timeline?ym=%s(zTimeframe)&n=%d(nCount)" |
| 1916 | @ target="_new">%s(zTimeframe)</a> |
| 1917 | }else { |
| 1918 | @ %s(zTimeframe) |
| 1919 | } |
| 1920 | @ </td><td>%d(nCount)</td> |
| 1921 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -1911,10 +1911,13 @@ | |
| 1911 | nEventsPerYear += nCount; |
| 1912 | @<tr class='row%d(rowClass)'> |
| 1913 | @ <td> |
| 1914 | if(includeMonth){ |
| 1915 | @ <a href="%s(g.zTop)/timeline?ym=%s(zTimeframe)&n=%d(nCount)" |
| 1916 | /* Reminder: n=nCount is not actually correct for bymonth unless |
| 1917 | that was the only user who caused events. |
| 1918 | */ |
| 1919 | @ target="_new">%s(zTimeframe)</a> |
| 1920 | }else { |
| 1921 | @ %s(zTimeframe) |
| 1922 | } |
| 1923 | @ </td><td>%d(nCount)</td> |
| 1924 |