Note that there are some explanatory texts on larger screens.

plurals
  1. POWeird behaviour on ICS whole day events on iPhone Calendar
    primarykey
    data
    text
    <p>our sports website provides an ICS calendar for our matches, draws etc.</p> <p>For retrieving the ICS file we use a PHP script which reads the local ics file and then does some optional filtering on the VEVENT records etc. and returns the ICS data.</p> <p>I have subscribed this ICS webcal via <code>webcal://....</code> on my iPhone.</p> <p>I now have the weird behaviour that SOME whole day events (DURATION:P1D) like this </p> <pre><code>BEGIN:VEVENT DTSTART;VALUE=DATE:20120623 DURATION:P1D TRANSP:TRANSPARENT SUMMARY:Auslosung: VWM: Super Globe DESCRIPTION:VWM: Super Globe UID:20110124@thw-provinzial.de CATEGORIES:THW-Termin URL:http://www.thw-provinzial.de/thw/ COMMENT:TYPE=VWM END:VEVENT </code></pre> <p>span two days in my iPhone Calendar if I subscribe the PHP script via <code>webcal://www.thw-provinzial.de/thw/ics.php?config=all?</code>. (It is shown on 20120623 and 20120624)</p> <p>If I subscribe the ics file directly via <code>http://www.thw-provinzial.de/thw/thwdate2.ics</code> the event is shown correctly only on day 20120623.</p> <p>If I do a </p> <pre><code>wget http://www.thw-provinzial.de/thw/thwdate2.ics wget http://www.thw-provinzial.de/thw/ics.php?config=all </code></pre> <p>and then diff the two outputs the only difference is the <code>X-WR-CALNAME</code> all other content is identical.</p> <p>Could it be that some header information in the response is confusing the iPhone?</p> <p>Response header of the thwdate2.ics -here the behvaiour is fine</p> <pre><code>HTTP/1.0 200 OK Date: XXXXXX Server: Apache Last-Modified: Wed, 13 Jun 2012 20:05:04 GMT ETag: "6c6f78d-c54d-4c260194d7c00" Accept-Ranges: bytes Content-Length: 50509 Vary: Accept-Encoding,User-Agent Content-Type: text/calendar Age: 787 </code></pre> <p>Response header of the ics.php - here we have the problem with spanning over 2 days</p> <pre><code>HTTP/1.0 200 OK Date: Thu, XXXXXX Server: Apache Content-Disposition: inline; filename=thwdates.ics Pragma: no-cache Cache-Control: no-cache, must-revalidate Expires: Sat, 26 Jul 1997 05:00:00 GMT Last-Modified: Wed, 13 Jun 2012 20:05:04 GMT Vary: Accept-Encoding,User-Agent Content-Type: text/calendar; charset=utf-8 </code></pre> <p>Any ideas?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload