Update test to straddle the DST change

As pointed out in
https://gitlab.com/davical-project/davical/-/merge_requests/86#note_1209576949
the issue is when events straddle the DST change.
This commit is contained in:
Andrew Ruthven 2024-01-19 19:48:03 +13:00
parent ff403b84a9
commit f137dd788e
3 changed files with 7 additions and 7 deletions

View File

@ -2,7 +2,7 @@ HTTP/1.1 201 Created
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
DAV: extended-mkcol, bind, addressbook, calendar-auto-schedule, calendar-proxy
ETag: "d0013fadaf8c7a44eff836556eb9a3cc"
ETag: "d4da875bd51e12bd8bf360f98b5f2403"
Content-Length: 0
Content-Type: text/plain; charset="utf-8"

View File

@ -34,10 +34,10 @@ TRANSP:OPAQUE
SUMMARY:Test timezone change
SEQUENCE:0
UID:dst-change
DTEND;TZID=America/Los_Angeles:20220312T213000
CREATED;TZID=America/Los_Angeles:20220228T163348
DESCRIPTION:
DTSTART;TZID=America/Los_Angeles:20220312T180000
DTSTART;TZID=America/Los_Angeles:20220312T183000
DTEND;TZID=America/Los_Angeles:20220313T083000
END:VEVENT
END:VCALENDAR
ENDDATA

View File

@ -2,8 +2,8 @@ HTTP/1.1 207 Multi-Status
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
DAV: extended-mkcol, bind, addressbook, calendar-auto-schedule, calendar-proxy
ETag: "d630c8db4e53d2a4f957f416f5e9ab32"
Content-Length: 622
ETag: "fd85b938645c3895073767ae9fea0189"
Content-Length: 620
Content-Type: text/xml; charset="utf-8"
<?xml version="1.0" encoding="utf-8" ?>
@ -23,8 +23,8 @@ SEQUENCE:0
UID:dst-change
CREATED;TZID=America/Los_Angeles:20220228T163348
DESCRIPTION:
DTSTART:20220313T020000Z
DURATION:PT3H30M
DTSTART:20220313T023000Z
DURATION:PT13H
END:VEVENT
END:VCALENDAR
</C:calendar-data>