Home » HTTP » HTTP_WebDAV_Server » Bug #1175
Date format error in WebDav/Server.php
Details
| Submitted | 2004-04-10 16:12 UTC |
|---|---|
| From | jo dot seiler at gmx dot de |
| Assigned | hholzgra |
| Status | Closed |
| Package | HTTP_WebDAV_Server |
| PHP Version | 4.3.0 |
| OS | Mac OS X 10.2.8 |
| Roadmaps | (Not assigned) |
Comments
[2004-04-10 16:12 UTC] jo dot seiler at gmx dot de
Description:
------------
in function http_PROPFIND() there's a date format error
in
Server.php:
case "getlastmodified":
echo " <D:getlastmodified
ns0:dt=\"dateTime.rfc1123\">".
date("D, j M Y H:m:s ", $prop['val']).
"GMT</D:getlastmodified>\n";
break;
should be:
date("D, j M Y H:i:s ", $prop['val']).
The same wrong format is used in the lst-modified
header output in http_GET.
[2004-04-10 16:26 UTC] jo dot seiler at gmx dot de
actually, to have the date disappear correctly in all
cases, it should be formatted as:
gmdate("D, d M Y H:i:s ", prop['val'])