Fossil SCM

Improve the "more context" hyperlink on the /thisdayinhistory page.

drh 2019-05-10 16:26 trunk
Commit 97bc9c3a5425e2978288a5b903f09dd679d3395237ac0a578871062bf14a1ad6
1 file changed +2 -1
+2 -1
--- src/timeline.c
+++ src/timeline.c
@@ -2841,11 +2841,12 @@
28412841
blob_reset(&sql);
28422842
if( db_int(0, "SELECT count(*) FROM timeline")==0 ){
28432843
continue;
28442844
}
28452845
@ <h2>%d(iAgo) Year%s(iAgo>1?"s":"") Ago
2846
- @ <small>%z(href("%R/timeline?c=%s",zThis))(more context)</a></small></h2>
2846
+ @ <small>%z(href("%R/timeline?c=%s+23:59:59",zThis))(more context)</a>\
2847
+ @ </small></h2>
28472848
www_print_timeline(&q, TIMELINE_GRAPH|TIMELINE_DISJOINT, 0, 0, 0, 0);
28482849
}
28492850
db_finalize(&q);
28502851
style_footer();
28512852
}
28522853
--- src/timeline.c
+++ src/timeline.c
@@ -2841,11 +2841,12 @@
2841 blob_reset(&sql);
2842 if( db_int(0, "SELECT count(*) FROM timeline")==0 ){
2843 continue;
2844 }
2845 @ <h2>%d(iAgo) Year%s(iAgo>1?"s":"") Ago
2846 @ <small>%z(href("%R/timeline?c=%s",zThis))(more context)</a></small></h2>
 
2847 www_print_timeline(&q, TIMELINE_GRAPH|TIMELINE_DISJOINT, 0, 0, 0, 0);
2848 }
2849 db_finalize(&q);
2850 style_footer();
2851 }
2852
--- src/timeline.c
+++ src/timeline.c
@@ -2841,11 +2841,12 @@
2841 blob_reset(&sql);
2842 if( db_int(0, "SELECT count(*) FROM timeline")==0 ){
2843 continue;
2844 }
2845 @ <h2>%d(iAgo) Year%s(iAgo>1?"s":"") Ago
2846 @ <small>%z(href("%R/timeline?c=%s+23:59:59",zThis))(more context)</a>\
2847 @ </small></h2>
2848 www_print_timeline(&q, TIMELINE_GRAPH|TIMELINE_DISJOINT, 0, 0, 0, 0);
2849 }
2850 db_finalize(&q);
2851 style_footer();
2852 }
2853

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button