Wrong month name in calendar
-
Hello,
since some time (new WP and/or PHP version?) the function
date_i18n
displays a wrong month name in calendar view (shows the right calendar sheet but the name is one month before the current). My blog settings are: timezone = ‘Berlin’, date = ‘j. F Y’, time = ‘G:i’.I changed
date_i18n
towp_date
in- /wp-content/plugins/events-manager/templates/templates/calendar-full.php, line 20
- /wp-content/plugins/events-manager/templates/templates/calendar-small.php, line 17
to fix the issue.
FEATURE REQUEST(?): Please replace all occurences of
date_i18n
withwp_date
according to WP developer (This is a newer function, intended to replace date_i18n() without legacy quirks in it.)Thanks in advance and kind regards
KnutThe page I need help with: [log in to see the link]
- The topic ‘Wrong month name in calendar’ is closed to new replies.