Fossil

Check-in [d54731da]
Login

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

Overview
Comment:Accidently changed time format in timeline_query_for_tty output in checkin [aad573b31c] reverted so that timeline shows local timestamps again.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:d54731dac961d737c3bf3f0674d3895cb729609b
User & Date: mjanssen 2007-09-24 23:19:33
Context
2007-09-24
23:58
Merged mjanssen's timeline updates check-in: 798a48ee user: jnc tags: trunk
23:19
Accidently changed time format in timeline_query_for_tty output in checkin [aad573b31c] reverted so that timeline shows local timestamps again. check-in: d54731da user: mjanssen tags: trunk
22:13
Fossil chat client entry widget will not lose focus on Win32 when receiving a message. check-in: 45f9af32 user: mjanssen tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/timeline.c.

441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
** a timeline query for display on a TTY.
*/
const char *timeline_query_for_tty(void){
  static const char zBaseSql[] = 
    @ SELECT
    @   blob.rid,
    @   uuid,
    @   datetime(event.mtime,'utc'),
    @   coalesce(ecomment,comment) || ' (by ' || coalesce(euser,user) || ')',
    @   (SELECT count(*) FROM plink WHERE pid=blob.rid AND isprim),
    @   (SELECT count(*) FROM plink WHERE cid=blob.rid)
    @ FROM event, blob
    @ WHERE blob.rid=event.objid
  ;
  return zBaseSql;







|







441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
** a timeline query for display on a TTY.
*/
const char *timeline_query_for_tty(void){
  static const char zBaseSql[] = 
    @ SELECT
    @   blob.rid,
    @   uuid,
    @   datetime(event.mtime,'localtime'),
    @   coalesce(ecomment,comment) || ' (by ' || coalesce(euser,user) || ')',
    @   (SELECT count(*) FROM plink WHERE pid=blob.rid AND isprim),
    @   (SELECT count(*) FROM plink WHERE cid=blob.rid)
    @ FROM event, blob
    @ WHERE blob.rid=event.objid
  ;
  return zBaseSql;