Skip to content

Commit 7714cf3

Browse files
committed
style: correct indentation in TimeTest
1 parent 154293a commit 7714cf3

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

‎tests/system/I18n/TimeTest.php‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -225,11 +225,11 @@ public function testYesterdayWithTimezoneAcrossDateBoundary(): void
225225

226226
$nyYesterday = Time::yesterday('America/New_York');
227227
$this->assertSame('2026-09-06 00:00:00', $nyYesterday->toDateTimeString());
228-
// March 28 at 23:30 does not exist in Nuuk due to the DST transition.
229-
Time::setTestNow('2026-03-29 23:30:00', 'America/Nuuk');
228+
// March 28 at 23:30 does not exist in Nuuk due to the DST transition.
229+
Time::setTestNow('2026-03-29 23:30:00', 'America/Nuuk');
230230

231-
$nuukYesterday = Time::yesterday('America/Nuuk');
232-
$this->assertSame('2026-03-28 00:00:00', $nuukYesterday->toDateTimeString());
231+
$nuukYesterday = Time::yesterday('America/Nuuk');
232+
$this->assertSame('2026-03-28 00:00:00', $nuukYesterday->toDateTimeString());
233233
Time::setTestNow();
234234
}
235235

@@ -246,11 +246,11 @@ public function testTomorrowWithTimezoneAcrossDateBoundary(): void
246246

247247
$nyTomorrow = Time::tomorrow('America/New_York');
248248
$this->assertSame('2026-09-08 00:00:00', $nyTomorrow->toDateTimeString());
249-
// Moving forward must select March 28 without normalizing into March 29.
250-
Time::setTestNow('2026-03-27 23:30:00', 'America/Nuuk');
249+
// Moving forward must select March 28 without normalizing into March 29.
250+
Time::setTestNow('2026-03-27 23:30:00', 'America/Nuuk');
251251

252-
$nuukTomorrow = Time::tomorrow('America/Nuuk');
253-
$this->assertSame('2026-03-28 00:00:00', $nuukTomorrow->toDateTimeString());
252+
$nuukTomorrow = Time::tomorrow('America/Nuuk');
253+
$this->assertSame('2026-03-28 00:00:00', $nuukTomorrow->toDateTimeString());
254254
Time::setTestNow();
255255
}
256256

0 commit comments

Comments
 (0)