@@ -32,28 +32,28 @@ public function testConvertsStrings(): void
3232
3333 public function testConvertsStringables (): void
3434 {
35- $ result = asDateTimeImmutable (new StringableString ('2010-09-08T07:06:05+02 :00 ' ));
35+ $ result = asDateTimeImmutable (new StringableString ('2010-09-08T07:06:05+00 :00 ' ));
3636
3737 self ::assertInstanceOf (DateTimeImmutable::class, $ result );
38- self ::assertSame ('2010-09-08T07:06:05+02 :00 ' , $ result ->format ('c ' ));
38+ self ::assertSame ('2010-09-08T07:06:05+00 :00 ' , $ result ->format ('c ' ));
3939 }
4040
4141 public function testConvertsDateTimeImmutableWithSameTimeZone (): void
4242 {
4343 $ dateTimeZone = asDateTimeImmutable (new DateTimeImmutable ())->getTimezone ();
4444
45- $ result = asDateTimeImmutable (new DateTimeImmutable ('2010-09-08T07:06:05+02 :00 ' , $ dateTimeZone ));
45+ $ result = asDateTimeImmutable (new DateTimeImmutable ('2010-09-08T07:06:05+00 :00 ' , $ dateTimeZone ));
4646
4747 self ::assertInstanceOf (DateTimeImmutable::class, $ result );
48- self ::assertSame ('2010-09-08T07:06:05+02 :00 ' , $ result ->format ('c ' ));
48+ self ::assertSame ('2010-09-08T07:06:05+00 :00 ' , $ result ->format ('c ' ));
4949 }
5050
5151 public function testConvertsDateTimeImmutableWithDifferentTimeZone (): void
5252 {
5353 $ result = asDateTimeImmutable (new DateTimeImmutable ('2010-09-08T07:06:05+02:00 ' ));
5454
5555 self ::assertInstanceOf (DateTimeImmutable::class, $ result );
56- self ::assertSame ('2010-09-08T07 :06:05+02 :00 ' , $ result ->format ('c ' ));
56+ self ::assertSame ('2010-09-08T05 :06:05+00 :00 ' , $ result ->format ('c ' ));
5757 }
5858
5959 public function testDoesNotTouchNull (): void
0 commit comments