Discussion:
How can I change the date format displayed (due date)?
f***@atlassian.com
2011-03-09 17:29:56 UTC
Permalink
Hello,

I am customising the road map in the VM file. I use a date such as DueDate -> $issue.getDueDate()

The result on screen is: 2011-03-15 00:00:00.0

How can I change the date format in that way: 15-03-2011 without 00:00:00.0 ?

Is it in the code or in the JIRA interface?

thanks in advance for your help.

Cédric
--
Post by cleger - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=52205
Pitt, Joseph
2011-03-09 17:32:29 UTC
Permalink
It is in the admin/look feel area

Joseph (Joe) Pitt
Senior Member of Professional Staff
SRA International, Inc.
443-624-5063

________________________________

From: jira-user-***@lists.atlassian.com on behalf of ***@atlassian.com
Sent: Wed 3/9/2011 12:29 PM
To: jira-***@lists.atlassian.com
Subject: [JIRA-user] How can I change the date format displayed (due date)?



Hello,

I am customising the road map in the VM file. I use a date such as DueDate -> $issue.getDueDate()

The result on screen is: 2011-03-15 00:00:00.0

How can I change the date format in that way: 15-03-2011 without 00:00:00.0 ?

Is it in the code or in the JIRA interface?

thanks in advance for your help.

Cédric
--
Post by cleger - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=52205
f***@atlassian.com
2011-03-09 17:38:37 UTC
Permalink
But in the look and feel, I have the following details:

Time Format h:mm a 6:35 PM
Day Format EEEE h:mm a Wednesday 6:35 PM
Complete Date/Time Format dd/MMM/yy h:mm a 09/Mar/11 6:35 PM
Day/Month/Year Format dd.MM.yyyy 09.03.2011
Date Picker Format (javascript format) d/MMM/yy (%e/%b/%y) 9/Mar/11
Date Time Picker Format (javascript format) dd/MMM/yy h:mm a (%e/%b/%y %I:%M %p) 09/Mar/11 6:35 PM

Which one I have to update?

Nothing looks like 2011-03-15 00:00:00.0 ...
--
Post by cleger - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=52205
Pitt, Joseph
2011-03-09 17:43:52 UTC
Permalink
Due date is from a date picker

Joseph (Joe) Pitt
Senior Member of Professional Staff
SRA International, Inc.
443-624-5063

________________________________

From: jira-user-***@lists.atlassian.com on behalf of ***@atlassian.com
Sent: Wed 3/9/2011 12:38 PM
To: jira-***@lists.atlassian.com
Subject: Re: [JIRA-user] How can I change the date format displayed(due date)?



But in the look and feel, I have the following details:

Time Format h:mm a 6:35 PM
Day Format EEEE h:mm a Wednesday 6:35 PM
Complete Date/Time Format dd/MMM/yy h:mm a 09/Mar/11 6:35 PM
Day/Month/Year Format dd.MM.yyyy 09.03.2011
Date Picker Format (javascript format) d/MMM/yy (%e/%b/%y) 9/Mar/11
Date Time Picker Format (javascript format) dd/MMM/yy h:mm a (%e/%b/%y %I:%M %p) 09/Mar/11 6:35 PM

Which one I have to update?

Nothing looks like 2011-03-15 00:00:00.0 ...
--
Post by cleger - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=52205
f***@atlassian.com
2011-03-10 08:52:07 UTC
Permalink
If I change any of the details from the look and feel (Date/Time Formats), my due date is still displayed 2011-03-15 00:00:00.0

Anyone can help me?

Thanks

Cédric
--
Post by cleger - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=52205
f***@atlassian.com
2011-03-10 14:28:11 UTC
Permalink
I don't know much about coding, so I usualy just copy-paste stuff. That means I would try formatting like similar dates in .vm files.

$outlookDate.formatDMY($issue.getDueDate())
or something.
--
Post by jraamets - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=52205
Continue reading on narkive:
Loading...