Confluence macro newbie here...
I have a very simple macro to display the page's last modified date and time. It works, but it always displays the server time rather than the user's local time. I can't find documentation on how to display in the user's local time zone. Any help? I'm running this on Confluence Server v7.2.2.
Code:
#set ( $dateInfo=$action.dateFormatter.formatGivenString("yyyy-MM-dd HH:mm:ss Z", $content.lastModificationDate) )
Last Modified: $dateInfo