Differences From:
File
src/timeline.c
part of check-in
[b5f4f910b7]
- Add additional hyperlinking of dates and userids. For a "circa" timeline,
show the "circa" point in the timeline listing.
by
drh on
2009-08-29 16:45:30.
[view]
To:
File
src/timeline.c
part of check-in
[58903a0fec]
- Add more hyperlinks on dates and userids.
by
drh on
2009-08-29 22:39:44.
[view]
@@ -497,11 +497,16 @@
rCirca
);
nEntry -= (nEntry+1)/2;
db_multi_exec(
- "INSERT OR IGNORE INTO timeline(timestamp,etype)"
- "VALUES(datetime(%f,'localtime'),'div')",
- rCirca
+ "INSERT INTO timeline(rid,timestamp,etype)"
+ "VALUES(-1,datetime(%Q,'-1 second') || '.9','div')",
+ zCirca
+ );
+ db_multi_exec(
+ "INSERT INTO timeline(rid,timestamp,etype)"
+ "VALUES(-2,datetime(%Q) || '.1','div')",
+ zCirca
);
url_add_parameter(&url, "c", zCirca);
}else{
zCirca = 0;