Make the textToDate function and tests work 100% correctly in all timezones.