fix ordinal dates