Support » Plugin: Events Manager » Calendar showing one month back

  • Resolved vikaspandeyd

    (@vikaspandeyd)


    Hello,
    we are using this [events_calendar long_events=0] for showing events calendar
    due to new update it was showing one month back can you please fix.
    it was not showing the current month calendar
    Thanks

Viewing 14 replies - 1 through 14 (of 14 total)
  • This same thing is happening to me too and is happening across lots of different sites that I use the plugin. Please help ASAP! Thanks so much!

    I have updated to 5.9.9 and use wp-fullcalendar.
    The WP-Fullcalendar event dates are shown correctly, i.e. an event scheduled for May 7 shows up in the wp-fullcalendar on May 7.
    But in the EM widget calendar, the event is shown one month before the event, i.e. it shows the event on April 7.
    It would be related the issue with vikaspandeyd’s

    Just add another piece of information on this issue. The problem affects both past and future events and newly created events. This is serious in a production site. Please suggest solution as soon as possible, please.

    Same problem here…hopefully a fix will be available soon 🙂

    Thread Starter vikaspandeyd

    (@vikaspandeyd)

    @marcus Can you please help with this issue?
    many users facing issues due to new update
    Appreciate your response
    Thanks

    • This reply was modified 6 months, 3 weeks ago by vikaspandeyd.

    Same problem

    Quick hack that fixes the problem in my use case. Fair warning, I don’t know anything about the design of this plugin, so this might not consistently work for others. However, I was able to resolve the problem I saw by using the date function instead of DateTime->format. Specifically, in classes/em-datetime.php, at the end of the format function declaration, I made the following change:

    		// return parent::format($format);
    		return date($format,$this->getTimestamp());

    Looks like Marcus is working on a fix:

    https://wordpress.org/support/topic/wrong-month-in-calendar/

    • This reply was modified 6 months, 3 weeks ago by semrocc.

    Full size calendar still showing December 2020 in header with January dates in the calendar sheet

    Plugin Support angelo_nwl

    (@angelo_nwl)

    You can try and confirm with EM version 5.9.10?

    Yes, month names look correct since 5.9.10. Thank you!!

    alexandraka

    (@alexandraka)

    not for me, still one month behind.
    and I do have the version 5.9.11.3
    Maybe something else is in cause ?

    Plugin Support angelo_nwl

    (@angelo_nwl)

    Hello,
    I upgraded to the version 5.10 but I still have the issue.

    The shortcode is
    [events_calendar long_events=1 full=1 year=”2021″ month=”9″]
    => is this shortcode correct to dislay the events of September?

    The Calendar shows

    << Aout 2021	>>
    lundi	mardi	mercredi	jeudi	vendredi	samedi	dimanche
    ...
    

    The month displayed is Aout (august), but the events contained are the one of May :-\
    what is wrong ?

    Then after digging in the thread of this support, I tried this ;
    [events_calendar long_events=1 year=”2021″ month=”9″]
    but now, the calendar display “Juin 2021” (June in english) with the events of July !

    => following to the upgrade of the version 5.10, do we need to do anything ?

    I checked the files
    events-manager/templates/templates/calendar-full.php
    events-manager/templates/templates/calendar-small.php

    
    <td><a>"><<</a></td>
    			<td class="month_name" colspan="5"><?php echo esc_html($EM_DateTime->i18n(get_option('dbem_full_calendar_month_format'))); ?></td>
    			<td><a>">>></a></td>
    

    Thx for your support
    Alexandra

    • This reply was modified 1 week, 6 days ago by alexandraka.
    • This reply was modified 1 week, 6 days ago by alexandraka.
    • This reply was modified 1 week, 6 days ago by alexandraka.
Viewing 14 replies - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.