The time key in activity-support now allows a conditional block. The format for the conditional is as follows:
...
time {
if (isFuture(this.startDate)) { // uses a Date EL function to check if the startDate is upcoming
expression(this.startDate)
} else {
expression(this.endDate)
}
}
...Additionally, we've deprecated the ability to have empty time values. The key now must either have a simple time, such as (time (someDate)), or a conditional time.
We've also deprecated time values that are min (Optional) or max (Many). The key must now provide a node that contains one, and only one, value.
Learn more about the deprecation stages.
Copyright 2025 Samsung All rights reserved