Hi
I am using JETI to send HTML format emails to users. I have used $!jetiFieldRenderer.renderCustomField($issue, 'customfield_XXXX')) to get the value from the Datepicker.
The date is displayed in the format yyyy-mm-dd HH:MM:SS.m (2014-07-10 06:59:00.0) but I want to display as dd-mmm-yyyy hh:mm (10-Jul-2014 06:59)
I tried using $!DateFormatter.format('mm/dd/yyyy', $issue.getCustomFieldValue("customfield_XXXX")) but obviously I have'nt understood the concept here.
I read that there is an option like jetiFieldFormatter DateFormat getJavaDateTimeFormat(
int
dateStyle,
int
timeStyle, String locale);
String formatSafely(DateFormat dateFormat, Date value);
But I dont know how to this method. Could someone post an example and help me out here.
Solved! Go to Solution.
Recommended Learning For You
Level up your skills with Atlassian learning
Learning Path
Apply agile practices
Transform how you manage your work with agile practices, including kanban and scrum frameworks.
Learning Path
Configure agile boards for Jira projects
Learn how to create and configure agile Jira boards so you can plan, prioritize, and estimate upcoming work.
Jira Essentials with Agile Mindset
Suitable for beginners, this live instructor-led full-day course will set up your whole team to understand how to use Jira with an agile methodology.