Comment on issue format DateTime

How can I format datetime like: dd/MMM/yy h:mm tt in comment

I'm try everything in this site: https://codebarrel.atlassian.net/wiki/spaces/AUTO4J/pages/24903696/Working+with+Dates

Comment issue.pngResult.png

 

2 answers

1 accepted

This widget could not be displayed.
Scott Harwood Community Champion Nov 07, 2017

Hi Thang,

I think this is what your after:

{{#now}}format="dd/MMM/yy h:mm a"{{/}}

Let me know if that works for you.

Cheers,

Scott

Thanks, Scott

It's work for me, Wonderful!

 Before that I'm trying this :)

{{#now}}format="dd/MMM/yy" {{/}} {{#now}}format="shortTime" {{/}}

 Sincerely,

Thang

This widget could not be displayed.

Thang,

The documentation you've linked is for Jira but you're raising a ticket in the Confluence collection.

Can you confirm with us if you really are trying to use this in Confluence, or if the question was misfiled and should be moved to Jira?

Kind Regards,
Shannon

Shannon,

Thank you for you response. I will move it to Jira

Best regards,

Manh Thang

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

91 views 1 0
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you