What is the equivalant of this setting https://confluence.atlassian.com/jirakb/disable-relative-dates-in-jira-applications-414187622.html?_ga=2.203499733.450927857.1554679221-1793386555.1537830461
in Confluence?
For anybody else who finds this:
I achieved the desired result by change the Comment Layout:
#macro (displayCommentActions $commentId $commentActionSection $webInterfaceContext)
#set ($items=$webInterfaceManager.getDisplayableItems("system.comment.action/$commentActionSection", $webInterfaceContext))
#if ($items)
<ul class="comment-actions-$commentActionSection">
#foreach ($item in $items)
## provide first class name for IE6 cause first-child selector doesn't work
#if ($velocityCount==1) #set ($className="first") #else #set ($className="") #end
#if ($item.styleClass) #set($className = "$className $item.styleClass") #end
## don't introduce a line break between the <li> and <a> otherwise this will introduce an unwanted spacing when this markup is rendered. See http://css-tricks.com/fighting-the-space-between-inline-block-elements/
<li class="$className"><a #if ($item.tooltip)title="$item.tooltip.getDisplayableLabel($req, $webInterfaceContext)"#end href="$item.link.getDisplayableUrl($req, $webInterfaceContext)"
#if ($item.link.id) id="${item.link.id}-$commentId" #end
><span>$item.label.getDisplayableLabel($req, $webInterfaceContext) - #if ($item.tooltip)$item.tooltip.getDisplayableLabel($req, $webInterfaceContext)#end</span></a></li>
#end
</ul>
#end
#end
Hey there Jason!
This is some serious advice you got there. Thanks for coming back and sharing how to achieve this.
Your knowledge can be quite useful for others as well!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello there!
Jason, currently this is not possible in Confluence.
We have feature requests for both Cloud and Server. You can check them here:
CONFSERVER-45044 | As an Administrator I want to configure Confluence to use only absolute dates
CONFCLOUD-45044 | As an Administrator I want to configure Confluence to use only absolute dates
On CONFCLOUD-45044 you can still vote and watch in case you are on Confluence cloud. Voting will increase the the visibility of the request and watching will keep you up to date!
Let us know!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.