briancottingham
Forum Replies Created
-
Forum: Plugins
In reply to: [The Events Calendar Shortcode & Block] Cutoff times and configurationHi Brian,
Understood. Thanks for the response and update!
It seems to be working as expected with the changes i’ve noted above. I will leave it as is until the next release and see where we go from there.
Thanks!
Forum: Plugins
In reply to: [The Events Calendar Shortcode & Block] Cutoff times and configurationOkay… FYI – I THINK i have this resolved. I believe the issue was that this plugin was using UTC time no matter what settings were used in the Events Calendar settings OR what was set in the wordpress installation. Editing line 115 in the PHP to default to America/New_York time zone solved the first drop off issue. Then adding ‘H:i:s’ to line 115 solved my issue of needing the event to show till 2am the following day. SO, in conclusion Changing line 115 of the-events-calendar-shortcode.php ….
FROM THIS:
$meta_date_date = date( 'Y-m-d' );TO THIS:
date_default_timezone_set('America/New_York'); $meta_date_date = date( 'Y-m-d H:i:s' );…. So far this looks like it solved all issues above for me. Again, i BELIEVE this is the solution. Will follow up to this thread if i find this is not the case.
The support threads that finally lead me to the solution:
https://wordpress.org/support/topic/ecs-list-events-shortcode-not-using-local-time/
https://wordpress.org/support/topic/events-cutting-off-at-utc-midnight-instead-of-local-time-midnight/WOOT!
THANKS!
Brian