Um, this is setting the value of the text box that is then processed by JavaScript to display the calendar (and time picker if ShowTime is true), this javascript date parsing code is custom code that is written to work with the EXACT format of the string using the space as the separator) if you are changing this then you need to change the JavaScript as well. (I recommend that this part of the pull request be rejected.)