Skip to content

Commit 930679e

Browse files
ashishdhingradscpinheiro
authored andcommitted
refactor: Manual change to test to use DateTimeKind.Utc for DynamoDB test.
1 parent 986fa56 commit 930679e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdk/test/Services/DynamoDBv2/IntegrationTests/DataModelTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,8 +491,8 @@ public void TestContext_RetrieveDateTimeInUtc_OperationConfig(bool retrieveDateT
491491
var operationConfig = new DynamoDBOperationConfig { RetrieveDateTimeInUtc = retrieveDateTimeInUtc };
492492

493493
var currTime = DateTime.UtcNow;
494-
var longEpochTime = new DateTime(2039, 7, 23, 2, 3, 4, DateTimeKind.Local);
495-
var longEpochTimeBefore1970 = new DateTime(1955, 12, 30, 23, 59, 59, DateTimeKind.Local);
494+
var longEpochTime = new DateTime(2039, 7, 23, 2, 3, 4, DateTimeKind.Utc);
495+
var longEpochTimeBefore1970 = new DateTime(1955, 12, 30, 23, 59, 59, DateTimeKind.Utc);
496496

497497
var employee = new AnnotatedNumericEpochEmployee
498498
{

0 commit comments

Comments
 (0)