mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-29 18:26:05 +00:00
Use expanded time specifiers in format since %Y doesn't work on Windows.
This commit is contained in:
parent
a828daaecd
commit
0e9f299f45
@ -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)) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user