From: Evan Prodromou Date: Tue, 2 Dec 2008 04:44:41 +0000 (-0500) Subject: better HTTP timestamp X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=df5ce60edc63217d42b026b0fb9b76269196568d;p=quix0rs-gnu-social.git better HTTP timestamp darcs-hash:20081202044441-5ed1f-63025fde108bff917253995f448f841160c8e394.gz --- diff --git a/lib/action.php b/lib/action.php index fc69efcce3..16959c53a2 100644 --- a/lib/action.php +++ b/lib/action.php @@ -73,7 +73,7 @@ class Action { // lawsuit } if ($lm) { - header('Last-Modified: ' . date(DATE_RFC822, $lm)); + header('Last-Modified: ' . date(DATE_RFC1123, $lm)); $if_modified_since = $_SERVER['HTTP_IF_MODIFIED_SINCE']; if ($if_modified_since) { $ims = strtotime($if_modified_since);