The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

WP Calendar
{events_calendar} time behind 4 hours (7 posts)

  1. briankeith68
    Posted 6 years ago #

    Time zone in WP is set for New York time. Widget list ov events shows correctly. Calendar view does not.
    Can the calendar events be a clickable link to bring you to that post?


  2. Matachin
    Posted 6 years ago #

    Same here.
    Calendar view shows wrong time,

    briankeith68 it's in UTC-4 timezone and times appears wrong by 4 hours.

    I'm in UTC+2 an time is wrong by 2 hours.

  3. timshawn
    Posted 6 years ago #

    I have same problem.
    Anyone figure out a fix yet?

  4. mikemotorcade
    Posted 6 years ago #

    It looks like the graphical calendar (fullcalendar) has some sort of problem with timezones. The dates are all stored properly, but the timezone info seems to get dropped when the dates are passed to fullcalendar. I can't figure out if the bug is in wp calendar or fullcalendar. Thoughts? Anyone been able to fix this? This is a pretty serious bug for me.

  5. faebu
    Plugin Author

    Posted 6 years ago #

    i cannot reproduce this error. could somebody change the following lines in fsCalendar.php (~Line 295):

    $e['start'] = $evt->tsfrom; //date_i18n('c', $evt->tsfrom);
    $e['end'] = $evt->tsto; //date_i18n('c', $evt->tsto);


    $e['start'] = date('c', $evt->tsfrom);
    $e['end'] = date('c', $evt->tsto);

    and report if this solves the problem? Make sure u have php5!


  6. mikemotorcade
    Posted 6 years ago #

    Thanks faebu! That solved the problem! You are a life saver!

  7. faebu
    Plugin Author

    Posted 6 years ago #

    great! i just released V1.1.2 with a patch for this issue!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic