Welcome, Guest
Username: Password: Remember me
JO Facebook Events Pro

TOPIC: Wrong Time for Event

Wrong Time for Event 9 years 4 months ago #1598

So far I really like this mod, even as I'm getting some kinks worked out. The latest issue is that the module is displaying the wrong time for the event created in Facebook. On the facebook page, the time of the event shows that it is from 3pm to 6pm. www.facebook.com/events/350839431767882 However on the website, it shows the event being from 4pm to 7pm. www.singingslovenes.com/schedule It is almost as if it is using a different time zone. I have ensured that the time zone on facebook is the correct time zone (central standard time) and that my server is using the same time zone. Suggestions?
The administrator has disabled public write access.

Wrong Time for Event 9 years 4 months ago #1599

  • Super User
  • Super User's Avatar
  • OFFLINE
  • Administrator
  • Posts: 3519
  • Thank you received: 278
  • Karma: 65
Hello
Just add it after line 13 which is on top of the modules/mod_jo_facebook_events_pro/tmlp/default.php like this.
defined('_JEXEC') or die('Restricted access');
date_default_timezone_set('America/Los_Angeles');
Or you can see solution this problem in topic: joomcore.com/forum/jo-facebook-events-pro/191-wrong-time-zone
Best regards
Bach Pham
The administrator has disabled public write access.
Time to create page: 0.049 seconds