Fixup the _.textToDate function.