Need help calculating time in a template

While posting I noticed a(nother?) mistake: I have if ... <= 1 folowed by elif ... == 1. :roll_eyes:
I’ve corrected it now to if ... < 1elif ... == 1.