• Resolved denmed

    (@denmed)


    Is there any functionality or additional code snippets in My Calendar to display events in the visitor’s time zone? Either via IP geolocation or browser geolocation? I have looked and it seems that only StellarWP’s The Event Calendar has a way to do this and it requires a Pro license and then additional code is required.

    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!

    • This topic was modified 5 months, 2 weeks ago by denmed.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    Yes; you can use the template tag {userstart} to display the time in a format that’s rendered into the current user’s local time. It’s not the most sophisticated pattern for displaying that time, but it includes some structured HTML to hopefully enable you to style it as you need.

    Thread Starter denmed

    (@denmed)

    Thanks for the information and reply! However, when I add this tag to a template, it seems to just show the GMT/Universal time, not the local time zone. Am I missing something?

    Thank you!

    Plugin Author Joe Dolson

    (@joedolson)

    What’s the context you’re using it in? It requires the My Calendar core JS be active, so if you have that deactivated or limited, it might not work in all scenarios. A link would help.

    Thread Starter denmed

    (@denmed)

    Joe,

    I think that’s all for now. We will look into another solution.

    Keep up the good work. Still a great plugin!

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