Wednesday, 07 March 2018
  3 Replies
  1K Visits
0
Votes
Undo
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
Wednesday, 07 March 2018 20:39
·
#198615
Accepted Answer
0
Votes
Undo
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

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!Join the JEvents club today!

Wednesday, 07 March 2018 20:39
·
#198615
Accepted Answer
0
Votes
Undo
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

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!Join the JEvents club today!

Tuesday, 03 July 2018 19:35
·
#203770
0
Votes
Undo
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!
Monday, 09 July 2018 21:18
·
#203951
0
Votes
Undo
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

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!Join the JEvents club today!

  • Page :
  • 1
There are no replies made for this post yet.