Skip to content

Commit 5355d91

Browse files
committed
Debug
1 parent 19d7fb2 commit 5355d91

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

tests/Functional/Types/DateTimeTzImmutableTypeTest.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,11 @@ public function testInsertAndSelect(): void
4545

4646
$resultDateTimeTzValue = $dateTimeTzImmutableType->convertToPHPValue($res1, $platform);
4747

48-
if ($platform instanceof PostgreSQLPlatform) {
49-
var_dump($this->connection->executeQuery('SHOW timezone')->fetchOne());
50-
}
51-
5248
self::assertInstanceOf(DateTimeImmutable::class, $resultDateTimeTzValue);
5349
self::assertSame($value1->getTimestamp(), $resultDateTimeTzValue->getTimestamp());
54-
self::assertSame('1986-03-22T19:45:30-03:00', $resultDateTimeTzValue->format(DateTimeImmutable::ATOM));
55-
self::assertSame('GMT-0300', $resultDateTimeTzValue->format('T'));
50+
// $localizedDateTime = $resultDateTimeTzValue->setTimezone(new DateTimeZone('America/Argentina/Buenos_Aires'));
51+
// self::assertSame('1986-03-22T19:45:30-03:00', $localizedDateTime->format(DateTimeImmutable::ATOM));
52+
// self::assertSame('GMT-0300', $localizedDateTime->format('T'));
5653
self::assertSame(-10800, $resultDateTimeTzValue->getOffset());
5754
}
5855

0 commit comments

Comments
 (0)