Invalid date / timezone calculation
-
Hi,
Thank you for the great plugin!
I noticed that the webinars I schedule past 9pm (America/New_York time) list via the shortcode with invalid dates (the time is right, and the day is off by 1).
The problem seems to be one missing line in shortcode.php – there is an explicit timezone conversion for the “time part” of the date, but for the “day part”, the code lacks the bolded out statement:
$date = new DateTime($mytimes[‘startTime’]);
$date->setTimeZone(new DateTimeZone($data[‘timeZone’]));Could you please update the code to fix that?
Best regards!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Invalid date / timezone calculation’ is closed to new replies.