From 0e9f299f453ea36947973205898450fa3ff268a5 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Fri, 5 Nov 2010 11:58:00 +1300 Subject: [PATCH] Use expanded time specifiers in format since %Y doesn't work on Windows. --- inc/always.php.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/always.php.in b/inc/always.php.in index a799a93c..1ba09166 100644 --- a/inc/always.php.in +++ b/inc/always.php.in @@ -412,7 +412,7 @@ function DeconstructURL( $url, $force_script = false ) { */ function ISODateToHTTPDate( $isodate ) { // Use strtotime since strptime is not available on Windows platform. - return( gmstrftime('%a, %d %b %Y %T GMT', strtotime($isodate)) ); + return( gmstrftime('%a, %d %b %Y %H:%M:%S GMT', strtotime($isodate)) ); } /**