correct date normalization

@czue https://github.com/dimagi/commcare-hq/pull/4455