localendar Forums Homepage


Print at Sep 8, 2025, 2:53:10 AM

Posted by support at Oct 19, 2010, 10:25:32 PM
Re: Daylight Savings not correct
Let's try B first since that's easier...
The iCal spec has a few nuances that are unfortunately open to interpretation. Though I find it odd that Outlook would work and not Live. Is the entire feed failing or just specific events? Can you tell us what the error message is?

Now on to A
When we import an iCal feed, we adjust it from the source timezone (which could be anything) into your local timezone, and we should account for DST movement.

Now let's talk about what we export.. I have an event from 9-10PM EST on my calendar. When I export it, the iCalendar feed states that it is
DTSTART;TZID=America/New_York:20100829T210000
DTEND;TZID=America/New_York:20100829T220000


First, we see it's given as America/New_York, which we also know is the same as EST. And the times in 24 hour format are 21 to 22 (or 9 to 10)

The date of the event is also in the file. So any consuming program should know whether or not DST is in effect. Let's suppose someone pulls that into a calendar and they live somewhere where DST isn't observed (or changes at a different time)....

That application should look at the user's local time setting and say, "Hey, Marc is reading in an event @ 9PM in New York on Oct 19". But I know his calendar is set to Arizona, so let me move that back 2 hours to local time 7PM.

What I think *should* happen next is that the consuming program should say, "Wait a sec - New York is also on DST so he's adding an extra hour. We don't observe that here in AZ, so I've got to move it back to 6PM".

I'm seeing this problem on the net for other iCal programs. And it doesn't seem like there's a consensus. Should the provider adjust the item? I argue no. 9PM EST is 9PM EST. The Consumer should look at the date and figure out if DST is in effect and if local adjustments need to be made.

However, if you can confirm that both Outlook and Google are expecting *us* to make the change, we'll be a little more flexible since they have more users smile

Can you tell me the timezones you are working with? What do you have set in all 3 programs?
----------------------------------------
Marc Higgins
Support Associate, localendar.com
Follow us on Twitter! http://www.twitter.com/localendar_news

Help! | Cobranding | Legal | Privacy Policy | About localendar.com | Contact Us