Use expanded time specifiers in format since %Y doesn't work on Windows.

This commit is contained in:
Andrew McMillan 2010-11-05 11:58:00 +13:00
parent a828daaecd
commit 0e9f299f45

View File

@ -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)) );
}
/**