Fixed time format bug