Open stereonom opened 9 years ago
Hi. When my event is tomorrow at 19:00 it isn't shown in the widget. Even events that start this evening aren't shown.
We replace strtotime( '+1 days',current_time( 'timestamp'))) with -1 days in /widget/class-super-simple-events-widget.php to fix it.
strtotime( '+1 days',current_time( 'timestamp')))
-1 days
/widget/class-super-simple-events-widget.php
It's not a clean solution, but fixed it for us until there is a better fix.
I would say the change was correct. According to the documentarion, http://php.net/manual/en/function.strtotime.php, it wound't show the event before one day.
Hi. When my event is tomorrow at 19:00 it isn't shown in the widget. Even events that start this evening aren't shown.
We replace
strtotime( '+1 days',current_time( 'timestamp')))
with-1 days
in/widget/class-super-simple-events-widget.php
to fix it.It's not a clean solution, but fixed it for us until there is a better fix.