diff options
author | fenner <fenner> | 2002-10-23 00:21:35 +0000 |
---|---|---|
committer | fenner <fenner> | 2002-10-23 00:21:35 +0000 |
commit | 90ee7f7dc55bca21abc9a0b1662208c2c6c5f8f5 (patch) | |
tree | a265b86636449863f13b2a6b87253fa4537dedde /day.php | |
parent | 5ff10079fa8bb0d516923cb625cdbf826474623d (diff) | |
download | phpicalendar-90ee7f7dc55bca21abc9a0b1662208c2c6c5f8f5.tar.gz phpicalendar-90ee7f7dc55bca21abc9a0b1662208c2c6c5f8f5.tar.bz2 phpicalendar-90ee7f7dc55bca21abc9a0b1662208c2c6c5f8f5.zip |
Update UNTIL handling. iCal exports an UNTIL that is sometimes
on the day after the event. My guess is that it stores the UNTIL
internally as 23:59:59 on the last day of the event, and timezone
conversion sometimes changes this to the next day.
Luckily, it's possible to recognize this, because iCal uses an illegal
UNTIL format for these anyway -- RFC 2445 says that an UNTIL with a
time MUST be in UTC, and these are not. Therefore, if an event has
an UNTIL with a time that's not in UTC, and the time is before noon,
subtract a day. Events with UNTIL= values that comply to the RFC are
not modified by this heuristic.
Diffstat (limited to 'day.php')
0 files changed, 0 insertions, 0 deletions