Time Library second function always returns 50

I am using the Time lib on a Pro mini and I always get the number 50 for seconds when running the second function or the breakTime function. Minutes and hours work fine. I also use the TM1638plus lib. Is this a known problem? I would ask in the Time lib thread but its locked from inactivity.

NVM. I had $02u instead of %02u in the sprintf used for formatting the time. $ in 7 segment comes out as 5 so the last 2 digits were always 50. Apologies for wasting peoples time.