Add separate format for date and time picker models

Allows a different format to be specified for the model and the view.

For example the view could be day/month/year and the model could be year-month-day