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

0 vote
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

0 vote

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,335 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot