fix ordering with the future?

This commit is contained in:
Christine Dodrill 2016-02-12 11:32:20 -08:00
parent 3839ddd8b9
commit ad101251bb
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ proc updateTweetsByUser*(db: DBConn, username, url: string) {. gcsafe .} =
if counter > 0:
let
msg = "Added " & $counter & " tweets from @<" & username & " " & url & ">"
now = getTime().getGMTime().timeInfoToTime().toSeconds()
now = getTime().toSeconds()
db.exec(sql"insert into tweets values(null, 'twtxtlist', ?, ?);", now, msg)
except: