Database error in serendipity_event_microformats plugin
Posted: Sat Nov 29, 2008 8:31 pm
Hello,
the plugin in $topic uses a MySQL specific SQL command:
PostgreSQL (don't know about other databases) has no "unix_timestamp" function, one can use:
If i do a grep in the blog directory i see 4 other occurences of UNIX_TIMESTAMP.
the plugin in $topic uses a MySQL specific SQL command:
Code: Select all
value > (UNIX_TIMESTAMP(NOW()) - 432000)Code: Select all
value > (extract(epoch from now())::integer - 432000)If i do a grep in the blog directory i see 4 other occurences of UNIX_TIMESTAMP.