Thanks! This helped me a lot.
But I think you have to change the references to the variables like this:
<input type="time" searchWhenChanged="true">
<label>Time Picker</label>
<default>
<earliest>-24h@h</earliest>
<latest>now</latest>
</default>
<change>
<condition match="isnum(earliest)">
<eval token="sel_time">tostring((latest-earliest)/60)+"m"</eval>
</condition>
<condition>
<eval token="sel_time">tostring((relative_time(now(), latest)-relative_time(now(), earliest))/60)+"m"</eval>
</condition>
</change>
</input>
... View more