Mercurial > hg > egg-tcls
comparison feeds.tcl @ 431:5763716060a0
feeds: Use utl_ctime for formatting a message timestamp.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 08 Jan 2017 05:09:50 +0200 |
parents | e5810c52d376 |
children | 2484f438b7d3 |
comparison
equal
deleted
inserted
replaced
430:8efbb045d44d | 431:5763716060a0 |
---|---|
106 set nresult [feeds_dbh onecolumn "SELECT COUNT(*) FROM feeds WHERE utime > $oldtime"] | 106 set nresult [feeds_dbh onecolumn "SELECT COUNT(*) FROM feeds WHERE utime > $oldtime"] |
107 | 107 |
108 if {$nresult > $feeds_sync_limit} { | 108 if {$nresult > $feeds_sync_limit} { |
109 feeds_log "$nresult new entries, probably unsynchronized. Ignoring." | 109 feeds_log "$nresult new entries, probably unsynchronized. Ignoring." |
110 } else { | 110 } else { |
111 feeds_log "$nresult new entries since $oldtime .." | 111 feeds_log "$nresult new entries since [utl_ctime $oldtime] .." |
112 feeds_dbh eval $usql { | 112 feeds_dbh eval $usql { |
113 feeds_msg $utime $ufeed $uurl $utitle | 113 feeds_msg $utime $ufeed $uurl $utitle |
114 } | 114 } |
115 } | 115 } |
116 | 116 |