From ad101251bb722ae81597d6076518a2b88d5dcc69 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Fri, 12 Feb 2016 11:32:20 -0800 Subject: [PATCH] fix ordering with the future? --- src/twtxt.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/twtxt.nim b/src/twtxt.nim index 181b106..d4abdf2 100644 --- a/src/twtxt.nim +++ b/src/twtxt.nim @@ -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: