This is where the date format is pulled in. It looks for a key with `dojo/date/locale`. The default key is `dateFormat-short`. To set a custom format we either add a new format to the locale date bundle, and then set that with the `formatLength` property. Or, we add new code to DateTextBox so it can parse a format string, as you are attempting.