• Elsewhere on our site we’ve begun to show dates/time in the user’s local time zone using a bit of javascript and would like My Calendar to support similar functionality for our international audience.

    A year or so ago, there was a question here on timezone support and you said, “There is an option for displaying events in the current user’s local timezone”.

    I searched the documentations, the plugin settings, and on this forum, but have not been able to figure out where such an option for displaying events in the current user’s local timezone might be set. Am I just being blind? Thanks in advance for the help and for a useful plug-in!

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

Viewing 1 replies (of 1 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    No, you’re not blind – it’s really just not very well documented.

    There’s a template tag that outputs a time element that will be manipulated using scripting to display the current user’s local time. In version 3.6, the options are {userstart} or {userend}. They show a full date/time string in the local time zone, and there isn’t a lot of flexibility.

    You can add those to custom templates, or to the title field in the display settings. In PHP templates, you can use the function mc_template_tag( $data, 'userstart' );.

    Version 3.7 will ship with more options; there’ll be separate options for just getting the local date or local time, as well.

Viewing 1 replies (of 1 total)

The topic ‘Show in User’s Time Zone?’ is closed to new replies.