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.
@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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.