Operator bug test cases

hCalendar events with the same summary get incorrectly detected as duplicates

Operator should show two events with a summary of "An event" but removes one as a duplicate, even though the date/time is different. Make sure that Remove Duplicates is activated in order to see this bug.

2008-01-01T10:00:00Z
An event
2008-01-02T10:00:00Z
An event

hCalendar events with UTC offsets are passed to Google calendar with the wrong time

The following event specifies a date/time when DST is in effect. However, at present DST is not in effect.

2008-04-01T10:00:00+01:00
An event when DST is in effect

Operator generates the following, correct VCARD output for the above event:

BEGIN:VCALENDAR
PRODID:
X-ORIGINAL-URL:http://localhost/testcase.html
X-WR-CALNAME:
VERSION:2.0
METHOD:PUBLISH
BEGIN:VEVENT
SUMMARY;CHARSET=UTF-8:An event when DST is in effect
UID:
DTSTART;VALUE=DATE-TIME:20080401T090000Z
DTSTAMP:19701209T000000Z
END:VEVENT
END:VCALENDAR

However, when I use Operator to add this event to Google calendar, Operator generates the following, incorrect HTTP GET:

GET /calendar/event?action=TEMPLATE&dates=20080401T080000/20080401T080000&text=An%20event%20when%20DST%20is%20in%20effect HTTP/1.1

The time has been changed to 08:00:00 and no local offset has been specified. This causes Google calendar to intepret the time as a floating time, which means it is added to the calendar as 8am local time, two hours too early.

The fact that the event time is specified with a local offset that is different to the one currently in effect may well be significant.