Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Date format - Insight


I have found a strange behavior. We are getting Insight date and time attribute to prefill date picker using SR Behaviors. The strange thing is that prefilled dates get +1h for dates in winter time and +2h in summer time. How to get raw time from Insight?

Code is very simple:

String format = "dd/MMM/yy HH:mm a";
SimpleDateFormat formater = new SimpleDateFormat(format);
String formatedDate = formater.format(testDateAttributeBean);

log.warn formatedDate

When I logged .toTimestamp() it showed correct date with +00:00.

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

Security Advisory for Jira Service Management

On October 20, 2021, Atlassian published a security advisory for Jira Service Management. The full advisory is available at this link.  We've seen a number of questions already asking for...

126 views 0 1
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you