Skip to content

Commit

Permalink
Fixed CanRetrieve of NullableDateTimeOffsetValueRetriever.
Browse files Browse the repository at this point in the history
Did not check Nullable<> correctly.
  • Loading branch information
Peter-B- committed Dec 1, 2016
1 parent e22e15b commit 9c14941
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -26,7 +26,7 @@ public object Retrieve(KeyValuePair<string, string> keyValuePair, Type targetTyp

public bool CanRetrieve(KeyValuePair<string, string> keyValuePair, Type targetType, Type propertyType)
{
return propertyType == typeof(DateTimeOffset);
return propertyType == typeof(DateTimeOffset?);
}
}
}

0 comments on commit 9c14941

Please sign in to comment.