]> git.wh0rd.org - tt-rss.git/blobdiff - include/functions.php
base if-modified-since on last received article, not feed update timestamp
[tt-rss.git] / include / functions.php
index d42e111f27b768cf8f38ab502ef32dc3f6c94982..8d09abf7b663f300ee1dc087c8fa824c20a10974 100644 (file)
                global $utc_tz;
                global $tz_offset;
 
+               $timestamp = substr($timestamp, 0, 19);
+
                # We store date in UTC internally
                $dt = new DateTime($timestamp, $utc_tz);