Help with Add to Calendar feature

1 post / 0 new
Help with Add to Calendar feature

So I am the lone Network Admin (and Drupal Admin) for the University Career Center and am having a problem with a Drupal 7 website we had a 3rd party firm design and build for us, but they are not getting back to us about an issue we found after the warranty had passed.

We started noticing (after DST had passed) that our Add to Calendar feature for our events calendar was incorrectly calculating the time and so adding the event an hour after the scheduled event (not helpful for students).

Akilah in DIT was able to do a little digging and found what he thought was the issue, but I have no web developers to finish debugging/fixing the issue.

Is there anyone out there who can help me with this? The website is hosted by DIT on AWS.

Here's what Akilah found originally:

This issue is a little messy . There are a few issues, I was able to identify with this date configuration on this site. 
 
1. The regional settings for the date/timezone was set on production to America/Chicago Time (which is 1hour behind us on the East Coast... I have since changed this to America/New York timezone) 
 
2. For the event content type : There are 2 fields that are not working together as they should to produce an accurate event calendar item. This is mostly due to the fact that the Date Tools Wizard wasn't used when creating the content type. The Event Date is being captured as a Date ISO (without time) and the Event Time are being captured with a separate formatter for time only. The problem with this is there's no way to sync the two from the front end as the information is being captured in 2 different fields instead of one field. 
 
3. There is a customization in the template.php (that is expressed on the page--event.tpl.php) file to add the links to google, ical, outlook but the calculations for the date and time is off. 
 
4. When you look at the webpage source and look at the time that is being expressed for both the event date field and what is being calculated with the preprocessed fields for gcallink/icallink/outlooklink you can see the differences.
 
If you'd like to see more, I have snippets of code showing this in more detail. His thought was that the template.php/page--event.tpl.php files need to be updated so that the calculations are done correctly.
 
Thanks for looking!
-David Jensen