Skip to content

Commit

Permalink
fix(calendardatepicker): Fixed default value for .Date : should be nu…
Browse files Browse the repository at this point in the history
…ll, not DateTimeOffset.MinValue.
  • Loading branch information
carldebilly authored and dr1rrb committed Jun 1, 2021
1 parent e89a48b commit 93ecfca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public Style CalendarViewStyle
}

public static readonly DependencyProperty DateProperty = DependencyProperty.Register(
"Date", typeof(DateTimeOffset?), typeof(CalendarDatePicker), new PropertyMetadata(default(DateTimeOffset)));
"Date", typeof(DateTimeOffset?), typeof(CalendarDatePicker), new PropertyMetadata(default(DateTimeOffset?)));

public DateTimeOffset? Date
{
Expand Down

0 comments on commit 93ecfca

Please sign in to comment.