We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b422e88 commit f4bda86Copy full SHA for f4bda86
tests/Unit/Internal/Support/DateIntervalTestCase.php
@@ -123,9 +123,6 @@ public static function provideCarbonDateIntervalDifferences(): \Generator
123
// P2M: Carbon parses as 2 minutes, DateInterval as 2 months
124
yield 'P2M - ambiguous months/minutes' => ['P2M', true];
125
126
- // PT1H5M: Carbon may parse as 1 hour (dropping the 5M), DateInterval as 1 hour 5 minutes
127
- yield 'PT1H5M - potential parsing issue' => ['PT1H5M', false]; // This should work correctly
128
-
129
// Cases that should NOT trigger warning (identical parsing)
130
yield 'PT2M - explicit minutes with T' => ['PT2M', false];
131
yield 'P1Y - explicit years' => ['P1Y', false];
0 commit comments