By latempest on Friday, 22 March 2024
Replies 2
Likes 0
Views 647
Votes 0
Hello,
I am importing a calendar from Microsoft outlook as an ICS file.

I have set my Timezone to Europe/London in both locations in the JEvents Configuration.

However it is showing the events 1 hour later than they should be.

If I import the ICS into the Calendar app on my Mac it shows the time correctly.

How can I set JEvents to display the correct event time? as I have the timezone for Europe/London is this a server issue?

I have attcahed the ICS file
The problem is that the ICS file is using a custom timezone definition whereas JEvents looks for standard OLSEN timezone names.

We deal with these by mapping them to official timezone names.

Microsoft uses some strange naming conventions - in this case "GMT Standard Time" which adjusts for daylight savings where in the UK we read GMT to mean GMT i.e. no summer time adjustments!!

We have therefore been mapping "GMT Standard Time" to UTC (which no daylight saving adjustments) - which is consistent with https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11

Does changing line 939 of components/com_jevents/libraries/iCalImport.php from


$wtzdata["GMT Standard Time"] = "UTC";

to

$wtzdata["GMT Standard Time"] = "Europe/London";

help?
·
11 months ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Geriant,
Yes that has worked, awesome thanks!
·
11 months ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post