Skip to content

Commit fa08f93

Browse files
committed
Adapt to changed formatting rules
1 parent e34e932 commit fa08f93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/TestBuildingBlocks/TimeExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public static DateTimeOffset TruncateToWholeMilliseconds(this DateTimeOffset val
1212
// Because MongoDB does not store the UTC offset in the database, it cannot round-trip
1313
// values with a non-zero UTC offset.
1414

15-
DateTime dateTime = TruncateToWholeMilliseconds(value.DateTime);
15+
DateTime dateTime = value.DateTime.TruncateToWholeMilliseconds();
1616
return new DateTimeOffset(dateTime, TimeSpan.Zero);
1717
}
1818

0 commit comments

Comments
 (0)