Index: openacs-4/packages/forums/lib/message/messages-list.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/lib/message/messages-list.tcl,v diff -u -r1.2.2.2 -r1.2.2.3 --- openacs-4/packages/forums/lib/message/messages-list.tcl 20 Dec 2019 16:55:37 -0000 1.2.2.2 +++ openacs-4/packages/forums/lib/message/messages-list.tcl 20 Dec 2019 16:56:40 -0000 1.2.2.3 @@ -12,7 +12,8 @@ from forums_forums f, forums_messages m where f.package_id = :package_id and m.forum_id = f.forum_id - and posting_date > now() - '5 days'::interval group by subject order by max(m.posting_date) desc + and posting_date > current_timestamp - cast('5 days' as interval) + group by subject order by max(m.posting_date) desc } { set posted [lc_time_fmt $posted "%x %X"] set link "message-view?message_id=$message_id"