Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

ApiSamples: DateTime-Sample contains an error #14

Open
123ManuelB opened this issue Jul 7, 2014 · 0 comments
Open

ApiSamples: DateTime-Sample contains an error #14

123ManuelB opened this issue Jul 7, 2014 · 0 comments

Comments

@123ManuelB
Copy link

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.

@123ManuelB 123ManuelB changed the title DateTime-Sample contains an error ApiSamples: DateTime-Sample contains an error Jul 7, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant