When i use this smart value:
{{issue.created.setTimeZone("Asia/Shanghai")}}
this is how the date and time displayed:
2020-05-28T01:46:06.7+0800
What can I do for the time to display in more proper way for example like 14:00 instead of T01:46:06.7+0800?
Hi @Shikh Ahmad Hafidz Bin Shikh Ahmad Marzuki ,
This is what I use:
{{issue.customField_17038.convertToTimeZone("America/Chicago").longDateTime}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great! Glad I could help a little. :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Shikh Ahmad Hafidz Bin Shikh Ahmad Marzuki check out this doc! https://support.atlassian.com/jira-software-cloud/docs/use-smart-values-to-manipulate-and-format-dates/
Specifically, the section for "Time zone". Hope that helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.