We are a multi-national company and I am going through the possibility of having our default home page be confluence. Currently in our html default home page it will show each region's local time. I have tried to write a macro to do this but got stuck along the way. The following code will display the local timezone:
But I cannot figure out how to get it to display the various other timezones. I have seen that there is a tz parameter for dateFormatter but I could not find any examples of usage.
I was bored, so I decided to try it out. It's a bit of a hack and it's maybe not the easiest way to do it, but at least it works
Yes, you need to create a new user macro (You must be an administrator; click the Gear icon at the top of the screen, then General Configuration, enter your password, and find "User Macros" on the left side of the screen). You just give the user macro any name you want (no spaces) and a title (what will be displayed in the macro editor). If you want so that not everybody can see it, choose the visibility under the name. Everything else can stay blank/as it is. Once you save it, the macro should be available to insert on a page.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
An efficient enterprise content management system, or ECM, is a must-have for companies that create work online (cough cough, all companies). If content calendars, marketing plans, and bu...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs