|  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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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: Wed Sep 30 01:01:27 2020 UTC