Simplifies time format for logging