t_started is not a timestamp as this format_time function expects it. It's rather a string in sqlite3 format so this won't work