summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2008-12-01 23:44:41 -0500
committerEvan Prodromou <evan@controlyourself.ca>2008-12-01 23:44:41 -0500
commitdf5ce60edc63217d42b026b0fb9b76269196568d (patch)
tree6b30866bf8da4c4b75ea6b8dd11440eecd629289
parentbe33850c5fceb418aec05fe537a85b7fe14f9bde (diff)
better HTTP timestamp
darcs-hash:20081202044441-5ed1f-63025fde108bff917253995f448f841160c8e394.gz
-rw-r--r--lib/action.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/action.php b/lib/action.php
index fc69efcce..16959c53a 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);