mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-26 02:44:29 +00:00
Fix XMLNS on tz/list
This commit is contained in:
parent
f9c0c86d9c
commit
7f45695b62
@ -11,7 +11,7 @@
|
||||
|
||||
require_once('vComponent.php');
|
||||
|
||||
$response = new XMLDocument( array("" => "urn:ietf:params:xml:ns:timezone-service") );
|
||||
$response = new XMLDocument( array("urn:ietf:params:xml:ns:timezone-service" => "") );
|
||||
$tzlist = $response->NewXMLElement('timezone-list');
|
||||
$tzlist->NewElement('dtstamp', gmdate('Ymd\THis\Z'));
|
||||
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
HTTP/1.1 200 OK
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
Content-Length: 2677
|
||||
Content-Length: 2596
|
||||
Content-Type: application/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<urn:ietf:params:xml:ns:timezone-service:timezone-list xmlns:urn:ietf:params:xml:ns:timezone-service="">
|
||||
<timezone-list xmlns="urn:ietf:params:xml:ns:timezone-service">
|
||||
<dtstamp>all good</dtstamp>
|
||||
<summary>
|
||||
<tzid>America/Los_Angeles</tzid>
|
||||
@ -78,4 +78,4 @@ Content-Type: application/xml; charset="utf-8"
|
||||
<alias>America/New_York</alias>
|
||||
<local-name lang="en_US">(UTC-05:00) Eastern Time (US & Canada)</local-name>
|
||||
</summary>
|
||||
</urn:ietf:params:xml:ns:timezone-service:timezone-list>
|
||||
</timezone-list>
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
HTTP/1.1 200 OK
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
Content-Length: 239
|
||||
Content-Length: 158
|
||||
Content-Type: application/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<urn:ietf:params:xml:ns:timezone-service:timezone-list xmlns:urn:ietf:params:xml:ns:timezone-service="">
|
||||
<timezone-list xmlns="urn:ietf:params:xml:ns:timezone-service">
|
||||
<dtstamp>all good</dtstamp>
|
||||
</urn:ietf:params:xml:ns:timezone-service:timezone-list>
|
||||
</timezone-list>
|
||||
|
||||
@ -3,7 +3,7 @@ Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
Content-Type: application/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<urn:ietf:params:xml:ns:timezone-service:timezone-list xmlns:urn:ietf:params:xml:ns:timezone-service="">
|
||||
<timezone-list xmlns="urn:ietf:params:xml:ns:timezone-service">
|
||||
<dtstamp>all good</dtstamp>
|
||||
<summary>
|
||||
<tzid>Africa/Abidjan</tzid>
|
||||
@ -1840,4 +1840,4 @@ Content-Type: application/xml; charset="utf-8"
|
||||
<last-modified>all good</last-modified>
|
||||
<local-name lang="">Pacific/Wallis</local-name>
|
||||
</summary>
|
||||
</urn:ietf:params:xml:ns:timezone-service:timezone-list>
|
||||
</timezone-list>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user