fix ordering with the future?
This commit is contained in:
parent
3839ddd8b9
commit
ad101251bb
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue