Forums

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

setTimeZone("Europe/London") function returns the date/time in GMT timezone and not in BST

Helen Rastetska
Contributor
September 6, 2023

I have automated a rule that creates a task with a description that contains a specific date in the "Europe/London" timezone. However, when the rule executes, the result is shown in the GMT timezone, and not in the British time. 

The difference between GMT and "Europe/London" is 1h during the summer time:

Screenshot_39.jpg

The row that is parced incorrectly in the description is:

 ({{version.releaseDate.withHour(7).withMinute(0).setTimeZone("Europe/London").longDateTime}})

Screenshot_41.jpg

It is resulting in the following:

Screenshot_40.jpg

Is that a bug or am I doing something wrong? I need to have exactly british time, otherwise I'll have an issue with timing during 6 months every year.

Much appreciate any advice on that!

1 answer

0 votes
Dan Breyen
Community Champion
September 7, 2023

Hi Helen, I took a quick look in Atlassian's Jira site (jira.atlasssian.com) and didn't find anything that jumped out at me.  If you can recreate this issue, I would suggest opening a ticket with support (support.atlassian.com/contact).  

They could assist you further to see if this is a known issue or if there is a workaround.

Hope that helps.

Suggest an answer

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

Atlassian Community Events