Forum Replies Created

Viewing 1 replies (of 1 total)
  • This is a quick fix when you have time() or mktime() calls that are returning GMT. Doesn’t fix the actual problem but if you don’t feel like recoding the widget calendar it does the job nicely.

    Open up your ec_calendar.class.php file, then paste the following line of code somewhere after the <?php (basically before the comments start)

    date_default_timezone_set(‘America/Los_Angeles’);
    Replace ‘America\Los_Angeles’ with the correct time zone you want to use from this list: https://ch2.php.net/manual/en/timezones.php

    Sidenote: why does the Large Calendar get the localized time zone but not the widget? And why is the coding so different???

Viewing 1 replies (of 1 total)