I cannot change the Drupal 8 posting date format of articles and book pages into a German format (day before month). It seems to use the "Default medium date". The posting dates remain always English (month before day):
http://beginnersmind.de/pics/scrshots/FrontPage.png

But I already changed "Default medium date" into German style such that day comes before month.
admin/config/regional/date-time/formats/manage/medium looks good:
http://beginnersmind.de/pics/scrshots/DefaultMediumDate.png

But: admin/config/regional/date-time always shows the wrong date pattern (month before day) by ignoring my modifications:
http://beginnersmind.de/pics/scrshots/DateAndTime.png
"drush cr" does not help. I always get month before day.

I was able to verify this behaviour with a brand new Drupal 8.3.5 install with PHP 5.6!
Without having the German language installed I was able to edit the English date format.
admin/config/regional/date-time showed the configured patterns.
However, after having installed and activated German it was no longer possible to change the date-time format any more. The name of the day turned into German, but the date pattern did no longer reflect the configured state.

Note: The meaning of the date 07/10/2017 depends on the language:
- English: July 10, 2017
- German: Oct 7, 2017
So it is confusing for readers if an English date format is applied to a German text.

Questions:

  1. Did I miss any necessary config action?
  2. Is this a bug?

Comments

BeginnersMind’s picture

Thanks for this hint which I knew but forgot to mention. It does make sense to post it here.

Drupal 8, however, has a date-and-time formater integrated in its core. So it should not be necessary to modify code base.

But currently, I have to assume that

  • either there is a weird and rare configuration bug at the site of my hoster
  • or there is a Drupal8 bug which prevents that the built-in date and time formater works when the language module is activated.

Current workaround for me: The language module is no longer usable. I have to clean reinstall and leave the language module inactive. In this case, I may conveniently format date-and time d/m/Y which fits to the content language.

If it's really a Drupal core bug, it would of course be better to fix it. I will consider reporting an issue.

BeginnersMind’s picture

I posted a bug report: https://www.drupal.org/node/2896235
I now count on the plain English version since I assume that there will be no patch.