toJiraDateFormat
Description
Displays the given date using Jira format.
Parameters
Return Type
String
The return value represents the converted date.
Examples
Example 1
Example 1Let's consider the following SIL code:
return toJiraDateFormat("2017-04-19", true);
This will return: 19/Apr/17 12:00 AM
Example 2
By running this code:
return toJiraDateFormat("2017-04-19", false);
The result will be: 19/Apr/17
Example 3
By running this code:
return toJiraDateFormat("2017-04-19");
he result will be: 19/Apr/17
See also
Peacock