Fix call to secs_to_time
Merge pull request #1 from DennisTT/fix_secs_to_time

Fix call to secs_to_time