|
Index | Recent Threads | Register | |
![]() |
Forums » List all forums » Forum: General Discussion » Thread: Can we adjust for DST? |
Total posts in this thread: 6 |
[Change thread status]
[Delete this Thread]
[Move this Thread] [Add To My Favorites] [Watch this Thread] [Post new Thread] |
Author |
|
DrBrass
New Member
|
I have built an iPhone app that uses the RSS feed from my calendar to populate a table showing upcoming events. The problem is that every event is automatically set to Standard Time in my timezone. When reading on the web, it looks fine, but the iPhone automatically adjusts for DST and therefore, the time shown on the app is 1 hour after the event actually starts. Is there any way to remedy this? Some option to show the event occurs during DST? |
||
|
support
localendar Expert ![]() Joined: Aug 9, 2022 Posts: 6438 Status: Offline |
If an event on your calendar happens at on Day X at 1PM, then it should happen at 1PM regardless of DST or not. For example, the Nightly News is always on at 6PM, regardless of whether or not we are in DST. Internally, our servers run GMT, and (depending on the country and timezone you are in) we will take DST (if observed) into account when sending event reminders. I'm not sure how you are constructing the dates on your iOS app, but if you can't force an event to be created with the time you specific (without auto-adjusting) then you would need to determine in DST is in effect and adjust accordingly. This is hugely complicated as it varies across the globe. I would strongly recommend more research on the iOS side of things. ---------------------------------------- Marc Higgins Support Associate, localendar.com Follow us on Twitter! http://www.twitter.com/localendar_news |
||
|
DrBrass
New Member
|
Basically the issue is your RSS Feeds display one time in the pubDate while the calendar displays the actual time an event occurs. Check out http://www.localendar.com/public/DrBrass compared with the feed http://www.localendar.com/public/DrBrass?style=D4, and you will see the time in the RSS does not match the time on the calendar. |
||
|
support
localendar Expert ![]() Joined: Aug 9, 2022 Posts: 6438 Status: Offline |
I'm sorry, but I still don't follow. I look at the HTML version of your calendar, and picked out a few items: 7 pm - 8 pm Wed. night Bible Study & Devo and 9:30 am - 11:30 am AM Bible Class & Worship The corresponding raw RSS XML for these items is: <item>and <item> For the Wed night event, 7PM CST is 19:00 CST and for the AM Bible class, 9:30am is 9:30 CST. The PubDate does reflect the same time shown on the calendar. Perhaps you can help me understand what I'm missing... ---------------------------------------- Marc Higgins Support Associate, localendar.com Follow us on Twitter! http://www.twitter.com/localendar_news |
||
|
DrBrass
New Member
|
The issue is that you have no option for DST. Therefore, when the pubDate time is listed as CST, but the user is actually now in CDT, their system automatically adds an hour to the time to compensate, causing it to show the wrong time. This is easily seen in a screenshot from my computer of the exact feed in question. Even though the pubDate lists it as 19:00, because it shows CST instead of CDT, the browser automatically adds an hour to the time to adjust, and shows a start time of 8:00 PM which is 20:00 ![]() |
||
|
support
localendar Expert ![]() Joined: Aug 9, 2022 Posts: 6438 Status: Offline |
The date is the indicator for DST. A system should use the event date and its own internal table to calculate that DST is in effect for that region. That's exactly what we have to do when people import a calendar from Google, for example. We don't get an indicator tell using "This event is in DST", you have to look at the date and the country/location and figure it out. Have a look at this related discussion on joelonsoftware. One person's (correct) solution?
http://discuss.joelonsoftware.com/default.asp?joel.3.222492.9 ---------------------------------------- Marc Higgins Support Associate, localendar.com Follow us on Twitter! http://www.twitter.com/localendar_news |
||||
|
[Show Thread Printable Version] [Post new Thread] |
Help! | Cobranding | Legal | Privacy Policy | About localendar.com | Contact Us |