On Jul 23, 2021, at 7:02 AM, Johannes Berg <johannes at sipsolutions.net> wrote: > Looks good to me. Technically, you could also move the "started_at" > variable into the loop together with "diff", you only need "ending_at" > to be outside. "started_at" already existed, and is used elsewhere in the function. Alan DeKok.