• Resolved fwehb

    (@fwehb)


    Moin moin,
    I cannot figure out why, but the month in the widget is one month behind, but the calendar content is from current month. I started desperate digging into the code without any knowledge, but found a place in em-calendar.php line 61, if i change
    $month_start = mktime(0,0,0,$month, 1, $year);
    to
    $month_start = mktime(0,0,0,$month, 2, $year);
    the correct month is displayed. Would assume that there is maybe an issue with start of week or similar? I cannot follow the code better, sorry.
    Thanks for any hints,
    Frank

    The page I need help with: [log in to see the link]

The topic ‘Wrong Month in Calendar Widget’ is closed to new replies.