Projects
Action Items
Project Period
(prop("Min Date") == prop("Max Date")) ? formatDate(prop("Min Date"), "MMM DD, YYYY") : (formatDate(prop("Min Date"), "MMM DD, YYYY") + " – " + formatDate(prop("Max Date"), "MMM DD, YYYY"))
(prop("Min Date") == prop("Max Date"))
Check to see if
Min Date
and Max Date
are the same.? formatDate(prop("Min Date"), "MMM DD, YYYY")
If they are, display just the
Min Date
.: (formatDate(prop("Min Date"), "MMM DD, YYYY") + " – " + formatDate(prop("Max Date"), "MMM DD, YYYY")) :
If they're not, display the formatted
Min Date
and Max Date
with an en dash in between.