Or maybe it’s there and I’m just missing it.
I did try adding timeZone to the eventTimeFormat section of the FullCalendar config:
“eventTimeFormat”: {
“timeZone”: “America/New York”,
“hour”: “numeric”,
“minute”: “2-digit”,
“omitZeroMinute”: true,
“meridiem”: “short”
}
but that didn’t change anything.
]]>Together with THIS thread, this shortcut is almost exactly what I need.
I need the text to update to show the date of the next Thursday, which changes to the following week after 7:30pm on that day. Using the above thread I’ve managed to do that.
However, is it possible to get the time to change based on the user’s timezone and not my own? I’ve used a VPN to test if it changes based on specific server locations, but it doesn’t appear to.
This is for a webinar that is schedule to go out every Thursday at 7:30pm based on the attendees timezone, so I’d like the date to automatically update on the landing page based on individual timezones as well if possible.
I hope that makes sense. Thanks!
]]>I have a calendar for clients to select a date.
I was wondering if it’s possible to configure it so that the following day is blocked out at 6 PM.
Currently, the next day only becomes unavailable at midnight or at 6 PM by changing the WordPress timezone (to one with a 6-hour difference).
Is it possible to limit the booking time directly from the plugin itself?
Thanks
]]>It also appears from the Sugar Calendar site that this feature is now a premium feature? However the option to click to convert a visitors event time to their time zone based on local data is still there on our plugin.
]]>This would be super-helpful for businesses that offer online-only services. Even if there’s a way to hook into this would be helpful!
Thanks for a great plugin!
]]>I have recently starting using this plugin and it’s exactly what I need however I’ve noticed that the times that show on the webpage are in UTC time. I need these to be in London time. Is there a short code for this or is this something I need to resolve in Google?
Thank you in advance!
]]>The “Plugin Check” plugin returns this warning when inspecting a plugin:
Using date_default_timezone_set() and similar isn’t allowed, instead use WP internal timezone support.
This plugin saves dates without timezone offset in database, I’m using strtotime()
for this.
Before saving I force timezone to be UTC+0, so that other plugins cannot intervene (on purpose or by accident):
// get current timezone
$current_zone = date_default_timezone_get();
// set utc timezone for strtotime
date_default_timezone_set('UTC');
Apparently I should use native WP functions for this.
What’s the best way to do this?
Guido
]]>I’m using your plugin and I noticed that the times are managed with UTC, which is not very convenient as I’m in Italy and the times that are returned to me are incorrect (including the times that I display on ActiveCampaign relating to orders placed, cart abandonment, etc…).
Wouldn’t it be possible to adjust the times according to the time zone set in WordPress settings?
I need some help from you to solve this problem. Thank you.
]]>