File tree Expand file tree Collapse file tree 2 files changed +12
-10
lines changed
Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -984,6 +984,8 @@ public async Task CompareComplexCompareTest()
984984 configuration . Configure ( config => config
985985 . Entity < Contact > ( e =>
986986 {
987+ e . Property ( p => p . Created ) . Formatter ( p => p . ToShortDateString ( ) ) ;
988+ e . Property ( p => p . Updated ) . Formatter ( p => p . ToShortDateString ( ) ) ;
987989 e . Property ( p => p . FirstName ) . Display ( "First Name" ) ;
988990 e . Collection ( p => p . Roles )
989991 . CollectionComparison ( CollectionComparison . ObjectEquality )
Original file line number Diff line number Diff line change 11[
2+ {
3+ PropertyName: Updated,
4+ DisplayName: Updated,
5+ Path: Updated,
6+ Operation: Replace,
7+ OriginalValue: DateTime_1,
8+ CurrentValue: DateTime_2,
9+ OriginalFormatted: Date_1,
10+ CurrentFormatted: Date_2
11+ },
212 {
313 PropertyName: Roles,
414 DisplayName: Roles,
3646 OriginalFormatted: New,
3747 CurrentFormatted: Verified
3848 },
39- {
40- PropertyName: Updated,
41- DisplayName: Updated,
42- Path: Updated,
43- Operation: Replace,
44- OriginalValue: DateTime_1,
45- CurrentValue: DateTime_2,
46- OriginalFormatted: 1/6/2024 12:00:00 AM,
47- CurrentFormatted: 1/7/2024 12:00:00 AM
48- },
4949 {
5050 PropertyName: Zip,
5151 DisplayName: Zip,
You can’t perform that action at this time.
0 commit comments