storyjesse
Forum Replies Created
-
Forum: Plugins
In reply to: [ICS Calendar] Timezone data not being utilisedYay!! Thank you so much!
Its almost 1am where I am so I’ll upgrade to version 6 in the morning and test it. Sounds like you got usability perfect to me though. Fingers crossed there are no bugs. ????Forum: Plugins
In reply to: [ICS Calendar] Timezone data not being utilisedSo after spending a few hours looking at my .ics files and CalDAV clients wondering what the simplest method would be I’ve I noticed that my .ics files already contain timezone data for each event and realised that the simplest solution is NOT to convert the times in the event data but to convert the display of those events into the desired timezone.
Reading your description of the issues in more detail leads me to propose that we need to convert all times into the specified site simezone **before** the events get sorted into hierarchical arrays.
The DateTime class seems to do what is required but I haven’t tested it yet.
I see your source code is in https://plugins.trac.www.ads-software.com/browser/ics-calendar?order=name which I’ve never used before. Is it fine for me to copy this code into a git repository to play around with?
Edit: HOW do I download a copy of the source code to play around with??
- This reply was modified 4 years, 5 months ago by storyjesse.
- This reply was modified 4 years, 5 months ago by storyjesse.
Forum: Plugins
In reply to: [ICS Calendar] Timezone data not being utilisedCheers, thanks for the update and the explanation of the difficulties. I can see the issues and look forward to this improvement when you manage it.
For the time being I’ll write myself a small conversion script for my individual calendars and then import these into wordpress, much easier to do for an individual calendar where I know the timezones and dates of daylight saving. ??
I might also try using radical and/or DAVx5 to import and export the calendars in a my local timezone. I’ll let you know if that works in case there is code you can borrow.
Good luck and thanks heaps for the plugin. ??