Forums

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

how to save date/time and not apply timezones to it

Jay Keck
Contributor
September 4, 2020

I have a situation where a Jira Cloud user wants to enter a date/time value in a field called 'Date(EST)' and then have that value be displayed without applying timezones, so it would show the same value whether looking it in New York or CA. I can't seem to find a way to do this other than save it as a character string, which is not ideal at all. Are there any tricks to help me accomplish this need to have a timezone independent date/time field? The only addon we use is JMWE, and I'm trying to avoid costs of buying any others.

Thanks,

Jay

2 answers

1 accepted

0 votes
Answer accepted
David Fischer
Community Champion
September 4, 2020

Jira stores all dates in the UTC time zone, and then converts to the user's time zone when displaying them.

In the past, you could have used JMWE to convert the date/time entered by the user back into that user's time zone (to get what the user had entered exactly) but unfortunately Jira Cloud doesn't always expose the user's time zone anymore (it depends on each user's personal privacy settings, unless you're using centralized account management using Atlassian Access (I think)).

So I'm afraid your only solution is to store the date/time as text field...

Jay Keck
Contributor
September 8, 2020

Thanks for confirming my suspicions. It seems a shame to have to revert back to text, but I guess that's what I'll need to discuss with my users.

Jay

0 votes
Carlos Garcia Navarro
Community Champion
September 4, 2020

Hi @Jay Keck , I'm not aware of a way to disable localization in Jira. You could probably write your own custom field (I found this tutorial: https://developer.atlassian.com/server/jira/platform/creating-a-custom-field-type/) , but honestly I'd use a text or string type like you mentioned.

Jay Keck
Contributor
September 8, 2020

Hi Carlos,

Since I'm on the cloud I don't even have this option, so text it is!

Regards,

Jay

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events