make sure time format is always the same