Jeremy Newman : fix format of timestamp in last modified

Jeremy Newman jnewman at winehq.org
Tue Jun 7 12:43:26 CDT 2022


Module: website
Branch: master
Commit: 341085bdc1e82bc7b63a602658e6f063b193f73c
URL:    https://source.winehq.org/git/website.git/?a=commit;h=341085bdc1e82bc7b63a602658e6f063b193f73c

Author: Jeremy Newman <jnewman at codeweavers.com>
Date:   Tue Jun  7 12:43:08 2022 -0500

fix format of timestamp in last modified

---

 include/html.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/html.php b/include/html.php
index 9a158435..e72bfc93 100644
--- a/include/html.php
+++ b/include/html.php
@@ -1612,7 +1612,7 @@ class html
             $this->set_last_modified(-1);
         header("Content-type: ".$type."; charset=UTF-8");
         header("Cache-Control: public, max-age=86400");
-        header("Last-Modified: " . gmdate("D, d M Y H:i:s", $this->last_modified . " GMT"));
+        header("Last-Modified: " . gmdate("D, d M Y H:i:s", $this->last_modified) . " GMT");
     }
 
     // REDIRECT (simple httpd header redirect)




More information about the wine-cvs mailing list