Mercurial > hg > egg-tcls
comparison feeds.tcl @ 435:5edaebbbb7f2
feeds: Also show UNIX timestamp along with translated timestamp.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 09 Jan 2017 04:19:10 +0200 |
parents | 366324c417d8 |
children | 4b6ae9765903 |
comparison
equal
deleted
inserted
replaced
434:366324c417d8 | 435:5edaebbbb7f2 |
---|---|
102 set nresult [feeds_dbh onecolumn "SELECT COUNT(*) FROM feeds WHERE utime > $oldtime"] | 102 set nresult [feeds_dbh onecolumn "SELECT COUNT(*) FROM feeds WHERE utime > $oldtime"] |
103 | 103 |
104 if {$nresult > $feeds_sync_limit} { | 104 if {$nresult > $feeds_sync_limit} { |
105 feeds_log "$nresult new entries, probably unsynchronized. Ignoring." | 105 feeds_log "$nresult new entries, probably unsynchronized. Ignoring." |
106 } else { | 106 } else { |
107 feeds_log "$nresult new entries since [utl_ctime $oldtime] .." | 107 feeds_log "$nresult new entries since $oldtime ( [utl_ctime $oldtime] ) .." |
108 feeds_dbh eval $usql { | 108 feeds_dbh eval $usql { |
109 feeds_msg $utime $ufeed $uurl $utitle | 109 feeds_msg $utime $ufeed $uurl $utitle |
110 } | 110 } |
111 } | 111 } |
112 | 112 |