Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Explain Date Time Calendar Behaviors

Scott A_ Chase May 26, 2022

Why is the behavior of the calendar for the Date Time Picker field such that it seems to randomly pick dates/times far into the future by default rather than say, picking the current date or, if there is a date in the field already, picking the date in the field?  If one isn't paying attention and wants the outage ends date, for my scenario, to be two days after the start date, I could pick that date not realizing that the month was off into the future.

Scenario(s)

Outage Starts field defaults to current date and time.

Outage Ends field has no default.

Create Issue FFSP eTicket (ET) Radio Outage Scheduled

See the following for "Outage Starts" and "Outage Ends" fields:

 1.png

Select "Calendar"  icon next to "Outage Starts" field to view Data/Time Picker calendar:2.png

Result is a date and time nine weeks in the future on the same weekday.

Select "Calendar"  icon next to "Outage Ends" field to view Data/Time Picker calendar:

3.png

Result is the same data and time displayed in the "Outage Starts" field.

Change DTG in "Outage Starts" to something other than that which it displayed on ticket creation. Select "Calendar"  icon next to "Outage Ends" field to view Data/Time Picker calendar:

 

 4.png

Result is the same data and time displayed in the "Outage Starts" field when the ticket was created.

Set DTG in "Outage Ends" field.

 5.png

 Select "Calendar"  icon next to "Outage Ends" field to view Data/Time Picker calendar:

6.png

Result is a date and time nine weeks in the future on the same weekday.

 Set DTG in "Outage Ends" field.

 7.png

Select "Calendar"  icon next to "Outage Ends" field to view Data/Time Picker calendar:

8.png

Result is a date and time 45 days in the future.

Set DTG in "Outage Ends" field.

9.png

Select "Calendar"  icon next to "Outage Ends" field to view Data/Time Picker calendar:

10.png

Result is a date and time 95 days in the future.

1 answer

0 votes
Jaanika
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 19, 2025
I had a similar issue that always showed +3 years and +3 months on the calendar view. In my case, I configured my jira date to show EU date format instead of the US one. This means that I changed the following key values:
  • jira.date.time.picker.java.format
  • jira.date.time.picker.javascript.format


The problem is that the calendar still offered the future dates in the calendar pop-up view. To fix this I also edited the date.picker to have the same format as above:
  • jira.date.picker.java.format
  • jira.date.picker.javascript.format


My end results looked like this:
  • jira.date.picker.java.format
    dd.MM.yy HH:mm
  • jira.date.picker.javascript.format
    %d.%m.%y %H:%M %p
  • jira.date.time.picker.java.format
    dd.MM.yy HH:mm
  • jira.date.time.picker.javascript.format
    %d.%m.%y %H:%M %p

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.5.16
TAGS
AUG Leaders

Atlassian Community Events