date normalization fixes