Steps to reproduce
1) Install the PHP intl extension. (On Debian family, aptitude install php5-intl)
2) Do a fresh install of Drupal.
3) Go to create a basic page node.
4) Expand the "Authored on" textfield.
5) Observe that the date is something ridiculous like "13131313-AugAug-0303", with time "23:0808:4848".
6) Drupal will correctly reject that format when you try to submit.
7) Go to /admin/config/regional/date-time/formats/manage/long
8) Note that the format is NOT PHP standard date format: EEEE, LLLL d, yyyy - kk:mm
9) Note that the link to the "PHP Manual" is not to the PHP manual, but to http://userguide.icu-project.org/formatparse/datetime
10) Go o_O
According to folks in IRC, if php5-intl is installed we switch over to that format. Why, I have no idea. It seems like a bad thing to do, because then the syntax we use for configuration changes depending on what PHP modules are installed. Even if there's some valid reason we are doing that (and I question whether we should be at all), it should be "complete" and not break the node page.
(I only have intl installed because there's one language simpletest that requires it... I have no idea why.)
Comments
Comment #1
webchickI believe this is a dupe of #2000384: php-intl module causes problems with Date and Time fields when editing Basic Page.