Hi,
The date format settings are not applicable for display in the short description. I believe the default display for a #param# is dd-MM-yyyy HH:mm:ss.SSS. The [Expressions] part of the admin manual should provide some description of modifying the default output. Not very straightforward but here are some samples.
Hi,
The date format settings are not applicable for display in the short description. I believe the default display for a
#param#
isdd-MM-yyyy HH:mm:ss.SSS
. The [Expressions] part of the admin manual should provide some description of modifying the default output. Not very straightforward but here are some samples.Using field syntax
f[datetime|#date1#|dd-MM-yyyy HH:mm]f
Using groovy syntax
g[new java.text.SimpleDateFormat("dd-MM-yyyy HH:mm").format(date1.value);]g
This requires updating the groovy-whitelist.txt file to add the applicable classes i.e.
java.text.SimpleDateFormat
art.reportparameter.ReportParameter
Related
Wiki: Expressions