Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Intl] relax some date parser patterns#32679
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
| * @dataProvider parseProvider | ||
| */ | ||
| publicfunctiontestParse($pattern,$value,$expected) | ||
| publicfunctiontestParse($pattern,$value,$expected,$requires64bit =false) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
is this new argument ever used ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Now it is. :)
xabbuh commentedJul 23, 2019 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Looks like PHP's |
nicolas-grekas commentedJul 23, 2019
Thank you@xabbuh. |
This PR was merged into the 3.4 branch.Discussion----------[Intl] relax some date parser patterns| Q | A| ------------- | ---| Branch? | 3.4| Bug fix? | yes| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets || License | MIT| Doc PR |While debugging the failures in#31374 I realised that the `IntlDateFormatter` from the Intl component parses dates more strictly than PHP's `IntlDateFormatter` class does.Commits-------7d0793a relax some date parser patterns
While debugging the failures in#31374 I realised that the
IntlDateFormatterfrom the Intl component parses dates more strictly than PHP'sIntlDateFormatterclass does.