mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-11-29 08:56:03 +00:00
list & updatecheck actions are now working to load all Olson zones from files.
This commit is contained in:
1 parent
5f4b40a643
commit
45ed6fb3f4
12 files changed
+2272
-1
No files matched your search
@@ -0,0 +1,115 @@
|
||||
HTTP/1.1 200 OK
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
Content-Length: 2986
|
||||
Content-Type: application/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<capabilities xmlns="urn:ietf:params:xml:ns:timezone-service">
|
||||
<info>
|
||||
<primary-source>Olson:2011m</primary-source>
|
||||
<contact>mailto:tzs@example.org</contact>
|
||||
</info>
|
||||
|
||||
<operation>
|
||||
<action>list</action>
|
||||
<description>List timezone identifiers and localized forms
|
||||
</description>
|
||||
|
||||
<accept-parameter>
|
||||
<name>lang</name>
|
||||
<required>false</required>
|
||||
<multi>true</multi>
|
||||
<description>Specify desired localized form(s)</description>
|
||||
</accept-parameter>
|
||||
|
||||
<accept-parameter>
|
||||
<name>changedsince</name>
|
||||
<required>false</required>
|
||||
<multi>false</multi>
|
||||
<description>Limit result to timezones changed since the
|
||||
given date
|
||||
</description>
|
||||
</accept-parameter>
|
||||
|
||||
<accept-parameter>
|
||||
<name>returnall</name>
|
||||
<required>false</required>
|
||||
<multi>false</multi>
|
||||
<description>If present inactive timezones will be returned.
|
||||
</description>
|
||||
</accept-parameter>
|
||||
</operation>
|
||||
|
||||
<operation>
|
||||
<action>get</action>
|
||||
<description>
|
||||
Returns one or more timezones as specified by the
|
||||
tzid parameter.
|
||||
</description>
|
||||
|
||||
<accept-parameter>
|
||||
<name>format</name>
|
||||
<required>false</required>
|
||||
<multi>false</multi>
|
||||
<value>text/calendar</value>
|
||||
<value>application/calendar+xml</value>
|
||||
<description>Specify required format for timezone.
|
||||
</description>
|
||||
</accept-parameter>
|
||||
|
||||
<accept-parameter>
|
||||
<name>lang</name>
|
||||
<required>false</required>
|
||||
<multi>true</multi>
|
||||
<description>Specify desired localized form(s)</description>
|
||||
</accept-parameter>
|
||||
|
||||
<accept-parameter>
|
||||
<name>tzid</name>
|
||||
<required>true</required>
|
||||
<multi>true</multi>
|
||||
<description>Specify desired timezone identifiers
|
||||
</description>
|
||||
</accept-parameter>
|
||||
</operation>
|
||||
|
||||
<operation>
|
||||
<action>expand</action>
|
||||
<description>
|
||||
Expands the specified timezone(s) into local onset and UTC
|
||||
offsets
|
||||
</description>
|
||||
|
||||
<accept-parameter>
|
||||
<name>tzid</name>
|
||||
<required>true</required>
|
||||
<multi>true</multi>
|
||||
<description>Specify desired timezone identifiers</description>
|
||||
</accept-parameter>
|
||||
|
||||
<accept-parameter>
|
||||
<name>start</name>
|
||||
<required>false</required>
|
||||
<multi>false</multi>
|
||||
<description>
|
||||
Specify start of the period of interest. If omitted the
|
||||
current year is assumed.
|
||||
</description>
|
||||
</accept-parameter>
|
||||
|
||||
<accept-parameter>
|
||||
<name>end</name>
|
||||
<required>false</required>
|
||||
<multi>false</multi>
|
||||
<description>
|
||||
Specify end of the period of interest.
|
||||
If omitted the current year + 10 is assumed.
|
||||
</description>
|
||||
</accept-parameter>
|
||||
</operation>
|
||||
|
||||
<operation>
|
||||
<action>capabilities</action>
|
||||
<description>Gets the capabilities of the server</description>
|
||||
</operation>
|
||||
</capabilities>
|
||||
@@ -0,0 +1,81 @@
|
||||
HTTP/1.1 200 OK
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
Content-Length: 2677
|
||||
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="">
|
||||
<dtstamp>all good</dtstamp>
|
||||
<summary>
|
||||
<tzid>Pacific/Auckland</tzid>
|
||||
<last-modified>20110919T032240Z</last-modified>
|
||||
<inactive/>
|
||||
<local-name lang="en_US">Pacific/Auckland</local-name>
|
||||
</summary>
|
||||
<summary>
|
||||
<tzid>America/Los_Angeles</tzid>
|
||||
<last-modified>20110918T082240Z</last-modified>
|
||||
<inactive/>
|
||||
<local-name lang="en_US">America/Los_Angeles</local-name>
|
||||
</summary>
|
||||
<summary>
|
||||
<tzid>Europe/Helsinki</tzid>
|
||||
<last-modified>20110918T182240Z</last-modified>
|
||||
<inactive/>
|
||||
<local-name lang="en_US">Europe/Helsinki</local-name>
|
||||
</summary>
|
||||
<summary>
|
||||
<tzid>New Zealand Standard Time</tzid>
|
||||
<last-modified>20110919T032248Z</last-modified>
|
||||
<inactive/>
|
||||
<alias>Pacific/Auckland</alias>
|
||||
<local-name lang="en_US">New Zealand Standard Time</local-name>
|
||||
</summary>
|
||||
<summary>
|
||||
<tzid>/softwarestudio.org/Olson_20011030_5/Pacific/Auckland</tzid>
|
||||
<last-modified>20110919T032253Z</last-modified>
|
||||
<inactive/>
|
||||
<alias>Pacific/Auckland</alias>
|
||||
<local-name lang="en_US">/softwarestudio.org/Olson_20011030_5/Pacific/Auckland</local-name>
|
||||
</summary>
|
||||
<summary>
|
||||
<tzid>/mozilla.org/20050126_1/Pacific/Auckland</tzid>
|
||||
<last-modified>20110919T032256Z</last-modified>
|
||||
<inactive/>
|
||||
<alias>Pacific/Auckland</alias>
|
||||
<local-name lang="en_US">/mozilla.org/20050126_1/Pacific/Auckland</local-name>
|
||||
</summary>
|
||||
<summary>
|
||||
<tzid>/mozilla.org/20050126_1/Antarctica/McMurdo</tzid>
|
||||
<last-modified>20110919T032256Z</last-modified>
|
||||
<inactive/>
|
||||
<alias>Antarctica/McMurdo</alias>
|
||||
<local-name lang="en_US">/mozilla.org/20050126_1/Antarctica/McMurdo</local-name>
|
||||
</summary>
|
||||
<summary>
|
||||
<tzid>/mozilla.org/20070129_1/Antarctica/McMurdo</tzid>
|
||||
<last-modified>20110919T032258Z</last-modified>
|
||||
<inactive/>
|
||||
<alias>Antarctica/McMurdo</alias>
|
||||
<local-name lang="en_US">/mozilla.org/20070129_1/Antarctica/McMurdo</local-name>
|
||||
</summary>
|
||||
<summary>
|
||||
<tzid>Europe/Prague</tzid>
|
||||
<last-modified>20110919T032319Z</last-modified>
|
||||
<inactive/>
|
||||
<local-name lang="en_US">Europe/Prague</local-name>
|
||||
</summary>
|
||||
<summary>
|
||||
<tzid>America/New_York</tzid>
|
||||
<last-modified>20110918T112328Z</last-modified>
|
||||
<inactive/>
|
||||
<local-name lang="en_US">America/New_York</local-name>
|
||||
</summary>
|
||||
<summary>
|
||||
<tzid>(UTC-05:00) Eastern Time (US & Canada)</tzid>
|
||||
<last-modified>20110918T112401Z</last-modified>
|
||||
<inactive/>
|
||||
<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>
|
||||
@@ -2,6 +2,7 @@
|
||||
# List timezone server timezones
|
||||
#
|
||||
TYPE=GET
|
||||
URL=http://regression.host/tz.php?action=list
|
||||
URL=http://regression.host/tz.php?action=list&returnall&lang=en_US
|
||||
HEAD
|
||||
|
||||
REPLACE=/dtstamp>[0-9TZ]{16}/dtstamp>all good/
|
||||
@@ -0,0 +1,9 @@
|
||||
HTTP/1.1 200 OK
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
Content-Length: 239
|
||||
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="">
|
||||
<dtstamp>all good</dtstamp>
|
||||
</urn:ietf:params:xml:ns:timezone-service:timezone-list>
|
||||
@@ -0,0 +1,8 @@
|
||||
#
|
||||
# List timezone server timezones
|
||||
#
|
||||
TYPE=GET
|
||||
URL=http://regression.host/tz.php?action=list
|
||||
HEAD
|
||||
|
||||
REPLACE=/dtstamp>[0-9TZ]{16}/dtstamp>all good/
|
||||
@@ -0,0 +1,6 @@
|
||||
HTTP/1.1 200 OK
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
Content-Length: 48
|
||||
Content-Type: text/plain
|
||||
|
||||
Added 362 new zones and updated data for 5 zones
|
||||
@@ -0,0 +1,7 @@
|
||||
#
|
||||
# Request the timezone server update itself
|
||||
#
|
||||
TYPE=GET
|
||||
URL=http://regression.host/tz.php?action=updatecheck
|
||||
HEAD
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,9 @@
|
||||
#
|
||||
# List timezone server timezones
|
||||
#
|
||||
TYPE=GET
|
||||
URL=http://regression.host/tz.php?action=list
|
||||
HEAD
|
||||
|
||||
REPLACE=/dtstamp>[0-9TZ]{16}/dtstamp>all good/
|
||||
REPLACE=/last-modified>[0-9TZ]{16}/last-modified>all good/
|
||||
Reference in new issue
Block a user