By Guest on Wednesday, 07 March 2018
Replies 3
Likes 0
Views 1K
Votes 0
Hi Guys,

Pretty Please will you add a way to allow us to add a custom time zone. We use Microsoft Office365 and every time we upgrade or do anything we must always go back in and edit the file>
/components/com_jevents/libraries/iCalImport.php
to include:
$wtzdata["Pacific Standard Time"] = "America/Los_Angeles";

I think it would be great to be able to add this in the regular config.

Thanks for your consideration.

Kind regards,
Tim
Hello Tim,

We already have custom time zone support! :-)

Create this file:
/components/com_jevnets/libraries/ical_custom_timezones.php

and add it in :-) This file will never be touched, unless you uninstall JEvents.

Many thanks
Tony
·
Wednesday, 07 March 2018 20:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Tony,

I have created the file ical_custom_timezones.php and added the following lines:




$wtzdata["Pacific Time"] = "Pacific Time";
$wtzdata["Eastern Time"] = "Eastern Time";

They don't show up when I go and select timezones?

Cheers!
·
Tuesday, 03 July 2018 19:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

This is correct and they won't these are used for importing only. I.e. if they are in the file they will map accordingly.

Many thanks
Tony
·
Monday, 09 July 2018 21:18
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post