Friday, 22 March 2024
  2 Replies
  648 Visits
0
Votes
Undo
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
latempest set the post as Critical priority — 11 months ago
latempest set the type of the post as  Technical — 11 months ago
11 months ago
·
#234446
0
Votes
Undo
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?

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

11 months ago
·
#234448
0
Votes
Undo
Geriant,
Yes that has worked, awesome thanks!
  • Page :
  • 1
There are no replies made for this post yet.