Fossil SCM
Further enhancements to the timeline label for the yw= query parameter.
Commit
b89e74526bc80eddb6e3f4db61b6bdb5d9c1ae2ab430e5158e515374cb5cb28d
Parent
881b4646171e776…
1 file changed
+1
-1
+1
-1
| --- src/timeline.c | ||
| +++ src/timeline.c | ||
| @@ -1931,11 +1931,11 @@ | ||
| 1931 | 1931 | |
| 1932 | 1932 | n = db_int(0, "SELECT count(*) FROM timeline WHERE etype!='div' /*scan*/"); |
| 1933 | 1933 | if( zYearMonth ){ |
| 1934 | 1934 | blob_appendf(&desc, "%s events for %h", zEType, zYearMonth); |
| 1935 | 1935 | }else if( zYearWeek ){ |
| 1936 | - blob_appendf(&desc, "%s events for year/week %h (%h)", | |
| 1936 | + blob_appendf(&desc, "%s events for week %h (the week starting %h)", | |
| 1937 | 1937 | zEType, zYearWeek, zYearWeekStart); |
| 1938 | 1938 | }else if( zDay ){ |
| 1939 | 1939 | blob_appendf(&desc, "%s events occurring on %h", zEType, zDay); |
| 1940 | 1940 | }else if( zBefore==0 && zCirca==0 && n>=nEntry && nEntry>0 ){ |
| 1941 | 1941 | blob_appendf(&desc, "%d most recent %ss", n, zEType); |
| 1942 | 1942 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -1931,11 +1931,11 @@ | |
| 1931 | |
| 1932 | n = db_int(0, "SELECT count(*) FROM timeline WHERE etype!='div' /*scan*/"); |
| 1933 | if( zYearMonth ){ |
| 1934 | blob_appendf(&desc, "%s events for %h", zEType, zYearMonth); |
| 1935 | }else if( zYearWeek ){ |
| 1936 | blob_appendf(&desc, "%s events for year/week %h (%h)", |
| 1937 | zEType, zYearWeek, zYearWeekStart); |
| 1938 | }else if( zDay ){ |
| 1939 | blob_appendf(&desc, "%s events occurring on %h", zEType, zDay); |
| 1940 | }else if( zBefore==0 && zCirca==0 && n>=nEntry && nEntry>0 ){ |
| 1941 | blob_appendf(&desc, "%d most recent %ss", n, zEType); |
| 1942 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -1931,11 +1931,11 @@ | |
| 1931 | |
| 1932 | n = db_int(0, "SELECT count(*) FROM timeline WHERE etype!='div' /*scan*/"); |
| 1933 | if( zYearMonth ){ |
| 1934 | blob_appendf(&desc, "%s events for %h", zEType, zYearMonth); |
| 1935 | }else if( zYearWeek ){ |
| 1936 | blob_appendf(&desc, "%s events for week %h (the week starting %h)", |
| 1937 | zEType, zYearWeek, zYearWeekStart); |
| 1938 | }else if( zDay ){ |
| 1939 | blob_appendf(&desc, "%s events occurring on %h", zEType, zDay); |
| 1940 | }else if( zBefore==0 && zCirca==0 && n>=nEntry && nEntry>0 ){ |
| 1941 | blob_appendf(&desc, "%d most recent %ss", n, zEType); |
| 1942 |