• Resolved abbimedia

    (@abbimedia)


    Hi, We have both the Calendar and List view of upcoming webinars on one page. The list view shows the webinar times in the time zone they were created. The calendar shows the time in the user’s local time zone. Either would be fine, but the two not being the same is confusing. Is there are way to get these to display the same time?

    WordPress timezone is set to America/Central
    GoTo account timezone set to America/Central
    All webinars created in America/Central
    Webinars are relevant to users in many timezones

    PHP Version:?8.1.29
    WordPress Version:?6.5.5
    Plugin Version:?15.3

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Northern Beaches Websites

    (@northernbeacheswebsites)

    Hi @abbimedia,

    At the moment we don’t have an option for this as it just hasn’t been requested before. As you are free user of the user, I will take this on as a feature suggestion.

    You can change this by overriding our plugin code, specifically the script.js file at line 24, and changing the timezone variable to a named timezone like timeZone: ‘America/New_York’, instead of: timezone: ‘local’,

    Or you could create a custom shortcode. If you get the pro version, I am happy to provide an option to do this without any changes on your end.

    Thanks,

    Thread Starter abbimedia

    (@abbimedia)

    Hey, thanks for the quick reply. I imagine we’ll be upgrading to the pro version as the client has indicated they want to show recorded webinars on the page once they have some. I tried changing the time zone in script.js as you suggested but no matter what I put there it seemed to display the time in GMT. I tried several variations of ‘America/Chicago’ all with the same results. I’ll take another run at it.

    Plugin Author Northern Beaches Websites

    (@northernbeacheswebsites)

    Hi @abbimedia,

    Ok that is strange, could it possibly be caching?

    Thread Starter abbimedia

    (@abbimedia)

    Hi, I don’t believe its a cache issue. The page is excluded from the site cache and changes immediately upon editing the script.js file. I also cleared the plugin’s cache. When I change ‘local’ to any timezone , the calendar on the page immediately displays the time in UTC. When I change it back to ‘local’ it shows the local time as expected. I’ve tried different time zones, with and without capitalization, with single and double quotes, adding brackets and parentheses, all with the same result. Not sure what else to try. Unrelated… your AutoSocial plugin is very cool. we’re recommending it to a couple of our other clients.

            locale: wordpressLocale.substr(0,2),
            //timezone: 'local',
            timezone: 'America/Chicago',
            timeFormat: calendarDateFormat,
    Plugin Author Northern Beaches Websites

    (@northernbeacheswebsites)

    I am not entirely sure sorry. I tried it on my end with changing the timezone this way and it worked ok.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.