dynamic dates are correct on the page but not when written to a .ICS file
Hi Ray, got a bit of a strange issue - I have an events page which shows dates and times of events from the database, along with an "add to calendar" button which writes the info to a .ICS file which users can then open to add the event to Outlook etc (I'm using the script from https://gist.github.com/jakebellacera/635416). The times display correctly on the page and I can see when using Inspector that the dates & times in the submission forms for the button are also correct, however when I open the .ICS file an hour is being added onto the given time (although the first one in the list does work properly for some reason!) I'm sure it must be due to daylight saving time as we're currently on winter time in the UK, however I've tried various strtotime syntax and it doesn't make any difference. Could you possibly take a look for me? I can give you a URL if easier but have attached the relevant files.