]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
better HTTP timestamp
authorEvan Prodromou <evan@controlyourself.ca>
Tue, 2 Dec 2008 04:44:41 +0000 (23:44 -0500)
committerEvan Prodromou <evan@controlyourself.ca>
Tue, 2 Dec 2008 04:44:41 +0000 (23:44 -0500)
darcs-hash:20081202044441-5ed1f-63025fde108bff917253995f448f841160c8e394.gz

lib/action.php

index fc69efcce3d1733041cabf3325f24f49f582b7f2..16959c53a2b971e7e5fd4985f6737771d6189a60 100644 (file)
@@ -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);