Event Calendar time bug
-
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.
-
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 thestrtotime
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 );
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.
ThanksNo worries @amin7
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
ThanksHello 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.
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!
- You must be logged in to reply to this topic.