What format do holiday's dates need to be?

This question is in reference to Atlassian Documentation: Setting up SLAs

I have tried 5/30/2016 and 5/30 and it tells me they are malformed. The help document has no examples of Holiday dates for me to reference.

2 answers

I tried many variations before finding the format.

Using php date format, it is:

j/M/y where:

j is the day of the month without leading zeros.

M is a short textual representation of a month, three letters.

y is a two digit representation of a year.

e.g.

Christmas Day in 2016 is 25/Dec/16 .

New Year's Day in 2017 is 1/Jan/17 .

I believe you can use the double-digit days too, e.g. 01, but when you save, it will be truncated as 1.

I am surprised that this is not in the documentation and that the calendar picker in JIRA Service Desk does not work.

Oh yes, I have to note that I'm in Singapore, where we usually use Day Month Year.

If j/M/y does not work, try M/j/y, as it would be expressed in the US.

e.g. Dec/25/16 or Jan/1/17.

0 vote

Have you tried using standard date formats instead of US ones?  The international standard is yyyy/mm/dd although that's often reversed.

If 30/5/2016 does work, then I'd take a look at your JIRA date settings, as it suggests they've been set to use non US dates.  Check the javascript and system settings, they're annoyingly separate.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

244 views 1 18
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