• Resolved mapsmarketing

    (@mapsmarketing)


    The Event Calendar widget refuses to display the correct time as shown below. It should just display the date and time as has been selected and not use any kind of timezoning, etc. to calculate some random time.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter mapsmarketing

    (@mapsmarketing)

    strtotime will output wrong timestamps when using non-US formats which is what’s happening here, see /essential-addons-for-elementor-lite/includes/Elements/Event_Calendar.php – Line: 3161 and 3162 .

    You can add $timezone = get_option('timezone_string'); and then use it within the strtotime in the following way so it can convert it to the correct timestamp.

    $start_time = strtotime( $event['start'] . ' ' . $timezone );
    $end_time   = strtotime( $event['end'] . ' ' . $timezone );
    Plugin Support amin

    (@amin7)

    Hi mapsmarketing
    I hope you are fine.

    Thanks for the details. I am forwarding these information to your dev team. I will inform you once I get the update from them.

    Thanks

    Thread Starter mapsmarketing

    (@mapsmarketing)

    No worries @amin7

    Plugin Support Pial

    (@iapial)

    Hello again mapsmarketing

    You will be gald to know that we have fixed the issue, It will be released very soon.
    In the meantime you can use our DEV version here: https://d.pr/f/neu3lR

    Once you update and activate the Plugin it will resolve the Date format issue.

    Please let me know how it goes
    Looking forward to hearing from you
    Thanks

    Plugin Support Pial

    (@iapial)

    Hello again,

    Sorry for the inconvenience.

    We did not hear from you since our last conversation.

    Could you please let us know if you are still having the issue?
    So that we could try to solve your issue.

    We are waiting for your response.

    Thank you.

    Plugin Support Pial

    (@iapial)

    Hello again

    Hope you are doing well.

    About your issue, We still haven’t heard back from you. So, I am assuming your issue has been resolved. I am resolving this topic.

    Have a nice day!

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.