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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 6 hours ago in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

86 views 4 5
Read article

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