diff options
Diffstat (limited to 'ext/date/tests/bug63740.phpt')
-rw-r--r-- | ext/date/tests/bug63740.phpt | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/ext/date/tests/bug63740.phpt b/ext/date/tests/bug63740.phpt index 18c5a57d77..d0056987cd 100644 --- a/ext/date/tests/bug63740.phpt +++ b/ext/date/tests/bug63740.phpt @@ -3,28 +3,28 @@ Bug #63740 (strtotime seems to use both sunday and monday as start of week) --FILE-- <?php $dates = [ - '2015-07-04', - '2015-07-05', - '2015-07-06', - '2015-07-07', - '2015-07-08', - '2015-07-09', - '2015-07-10', - '2015-07-11', - '2015-07-12', - '2015-07-13', - '2015-07-14', + '2015-07-04', + '2015-07-05', + '2015-07-06', + '2015-07-07', + '2015-07-08', + '2015-07-09', + '2015-07-10', + '2015-07-11', + '2015-07-12', + '2015-07-13', + '2015-07-14', ]; foreach ( $dates as $date ) { - $dt = new DateTimeImmutable( "$date 00:00 UTC" ); + $dt = new DateTimeImmutable( "$date 00:00 UTC" ); - echo $dt->format( "D Y-m-d H:i" ), " → "; + echo $dt->format( "D Y-m-d H:i" ), " → "; - $dtn = $dt->modify( "this week" ); + $dtn = $dt->modify( "this week" ); - echo $dtn->format( "D Y-m-d H:i" ), "\n"; + echo $dtn->format( "D Y-m-d H:i" ), "\n"; } ?> --EXPECT-- |