summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-25 18:42:48 +0400
committerAndrew Dolgov <[email protected]>2013-04-25 18:42:48 +0400
commit90e5f4f1de6219029466c32777e47dd2ffb61cdc (patch)
treea12bb57b90f9f757f1ee64f03b15a2834a6ced19 /include/functions.php
parent90a372f51dba8c681b4e22fc4cb5239bc1d0d4cf (diff)
base if-modified-since on last received article, not feed update timestamp
Diffstat (limited to 'include/functions.php')
-rw-r--r--include/functions.php2
1 files changed, 2 insertions, 0 deletions
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);