From 90e5f4f1de6219029466c32777e47dd2ffb61cdc Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 25 Apr 2013 18:42:48 +0400 Subject: base if-modified-since on last received article, not feed update timestamp --- include/functions.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/functions.php') diff --git a/include/functions.php b/include/functions.php index d42e111f2..8d09abf7b 100644 --- a/include/functions.php +++ b/include/functions.php @@ -855,6 +855,8 @@ global $utc_tz; global $tz_offset; + $timestamp = substr($timestamp, 0, 19); + # We store date in UTC internally $dt = new DateTime($timestamp, $utc_tz); -- cgit v1.2.3