Events Made Easy Forums Bug fixed or feature request implemented Small calendar bug in 1.3.0

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #44204
    Franky
    Keymaster

    I seem to have re-introduced an old bug while rewriting the calendar code. It’s a simple fix.

    Go into eme_calendar.php and change lines 259-261 from

    if ($isPreviousMonth) $calstring="$iPrevYear-$iPrevMonth-$iCalendarDay";
    elseif ($isNextMonth) $calstring="$iNextYear-$iNextMonth-$iCalendarDay";
    else $calstring="$iSelectedYear-$iSelectedMonth-$iCalendarDay";

    to:

    $iCalendarDay_padded = sprintf("%02d",$iCalendarDay);
    if ($isPreviousMonth) $calstring="$iPrevYear-$iPrevMonth-$iCalendarDay_padded";
    elseif ($isNextMonth) $calstring="$iNextYear-$iNextMonth-$iCalendarDay_padded";
    else $calstring="$iSelectedYear-$iSelectedMonth-$iCalendarDay_padded";

    I’ll release 1.3.1 to fix this problem this evening.

    #51434
    Franky
    Keymaster

    fixed in trunk

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.
Scroll to Top