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 votes
Accepted answer
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 votes

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
Community showcase
Posted Oct 16, 2018 in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

1,381 views 17 10
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