Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Time format + comments

Tim Schmidt June 10, 2014

Hey guys,

in my layout I got the following code:

<div class="page-metadata not-personal">$action.getText("macros.blogpost.by.posted.on", ["#userLink($blog.creator)", $action.dateFormatter.formatDateTime($blog.creationDate)]) - last edited by #userLink($blog.lastModifier) on $action.dateFormatter.formatDateTime($blog.lastModificationDate)</div>

and the output is like

Tim posted on Jun 02, 2014 08:55 - last edited by Tim on Jun 11, 2014 14:05

I want the time-format to be like Tim posted on 02.06.2014 08:55 -last edited by Tim on 11.06.2014 14:05

Is there a specific formatter for this type of display-date?

My second issue is that I want the same format for all my pages, blogposts and comments. It works fine for pages and blogposts but I can't find the right line for time-format in my comment-layout. Can anyone help? :)

Cheers!

2 answers

1 accepted

0 votes
Answer accepted
Bhushan Nagaraj
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 17, 2014
0 votes
Bruna Griebeler
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 10, 2014

Hi Tim,

Take a look here and check if it helps!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events