summaryrefslogtreecommitdiff
path: root/lib/Multi/IRC.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-08-08 16:41:34 +0200
committerYorhel <git@yorhel.nl>2009-08-08 16:41:34 +0200
commit1e2a5c75f0154a12af7d19929153c27c75d193b1 (patch)
treed3a949969ef8ecc8d3c06f70238c8e5fe439e65f /lib/Multi/IRC.pm
parentc90e590bdbe7933df8e8a0d83c82dddfa22afc37 (diff)
Converted threads_posts.date and edited to timestamptz
Everything still seems to be working fine so far.
Diffstat (limited to 'lib/Multi/IRC.pm')
-rw-r--r--lib/Multi/IRC.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Multi/IRC.pm b/lib/Multi/IRC.pm
index 2373178b..84f307d9 100644
--- a/lib/Multi/IRC.pm
+++ b/lib/Multi/IRC.pm
@@ -268,7 +268,7 @@ sub notify { # name, pid, payload
FROM threads_posts tp
JOIN threads t ON t.id = tp.tid
JOIN users u ON u.id = tp.uid
- WHERE tp.date > ?
+ WHERE tp.date > to_timestamp(?)
ORDER BY tp.date|
: q|SELECT
'g' AS type, t.id, t.name AS title, u.username