tm_format_time output changes by +/1 second