]> git.wh0rd.org Git - tt-rss.git/commitdiff
catchup_feed: fix 1day on mysql
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sun, 31 Mar 2013 08:45:19 +0000 (12:45 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sun, 31 Mar 2013 08:45:19 +0000 (12:45 +0400)
include/functions.php

index f2dd87bd3f9dcfa63d496f2a80b8d3a5377326eb..ea69b5f38b20223a4a0d4ecb893430487936f158 100644 (file)
                                if (DB_TYPE == "pgsql") {
                                        $date_qpart = "date_entered < NOW() - INTERVAL '1 day' ";
                                } else {
-                                       $date_qpart = "date_entered < DATE_SUB(NOW(), INTERVAL 1 WEEK) ";
+                                       $date_qpart = "date_entered < DATE_SUB(NOW(), INTERVAL 1 DAY) ";
                                }
                                break;
                        case "1week":