Fixed time handling in logs.