Timerange - start end time from payload


#1

Hi,

Would it be possible for the timerange block to take the start times & end times from the payload, similar to how it can take the timezone from the payload? It would be great functionality for user input. Or if I could use the timerange block to output the current time according to the timezone I could then use conditional blocks to input the functionality myself.

Thanks,

Nev


#2

The start and end times can currently be pulled from the payload using a template, for example {{ data.startTime }}. The value on the payload should be a string that matches the HH:MM format expected by input.

Apologies for the confusion. The field being templatable isn’t communicated very well on that block. We’ve been exploring some better ways to mark text fields as templatable in a standard way across all nodes.