If you set the dateTime-Property in the viewModel to a date with 0 hours and minutes like
private DateTime _property = DateTime.Now.Date;
and then using the date picker by changing the current day, the label for datetime is not updated. If you after this rechoose a day, the day displayed in the label is one day beyond the choosen day and the picker repicks the day.
If you set the dateTime-Property with 2 hours, then the bug is not occurring:
private DateTime _property = DateTime.Now.Date.AddHours(2);
If you set the Property with one hour instead, the error is still occurring.
If you set the dateTime-Property in the viewModel to a date with 0 hours and minutes like private DateTime _property = DateTime.Now.Date; and then using the date picker by changing the current day, the label for datetime is not updated. If you after this rechoose a day, the day displayed in the label is one day beyond the choosen day and the picker repicks the day.
If you set the dateTime-Property with 2 hours, then the bug is not occurring: private DateTime _property = DateTime.Now.Date.AddHours(2); If you set the Property with one hour instead, the error is still occurring.