|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #73596 IntlDateFormatter fails to parse valid dates
Submitted: 2016-11-23 22:41 UTC Modified: -
Avg. Score:4.0 ± 1.0
Reproduced:4 of 4 (100.0%)
Same Version:2 (50.0%)
Same OS:1 (25.0%)
From: thomas dot lallement at 9online dot fr Assigned:
Status: Open Package: intl (PECL)
PHP Version: 7.1.0RC6 OS: Ubuntu / Red Hat
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
12 + 27 = ?
Subscribe to this entry?

 [2016-11-23 22:41 UTC] thomas dot lallement at 9online dot fr
You can follow this link to see the current issue that is relevant on all version of php (even in 7.0.x or 7.1.0-RC6):

The fact is that given the Timezone, the parsing can fail on different dates. The following code is used by Symfony Framework in a data transformer (DateTimeToLocalizedStringTransformer) that is used to parse date enter in Date and DateTime fields.

Test script:


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Thu Jun 04 20:01:23 2020 UTC