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

ApiSamples: DateTime-Sample contains an error #14

@123ManuelB

Description

@123ManuelB

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions