Is there a way to set the date (Edm.DateTime) i get from odata read request. I mapped the odata to my datePicker as follows
value: {
path: "ActionsData>/HireDate",
type: new sap.ui.model.type.Date({
source: {
pattern: "timestamp"
},
pattern: "dd.MM.yyyy",
strictParsing: true
})
},
but unfortunatelly the date is displayed like: NaN.NaN.0NaN
Any ideas to how to display the date in format dd.MM.yyyy with minimal effort?