Here is a date time picker I have set up based on the documentation provided at this link:
<input kendo-date-picker
k-options="monthSelectorOptions"
ng-model="milestone.estimate"
k-ng-model="dateObject" />
The date time picker has the following options:
// SET OPTIONS FOR DATE TIME PICKER
$scope.monthSelectorOptions = {
format: "dd.MM.yyyy",
change: $scope.onDateChange
};
I am wondering how to automatically format the date from a timestamp represented by:
ng-model="milestone.estimate"
Additionally, after selecting a date from the picker, I would like the value in the scope to be updated with the timestamp but display the formatted date in the date picker.
If this is possible, could you please provide guidance on how to achieve it?
Thank you for any advice you can offer.