Issue date formatting problems (OJS 3.3.0.8)

For a multi-language journal we updated the language settings as to allow users to select one of two languages (UI = True).
Since this change, the issue dates on the archive page are no longer formatted if the user language is German, whereas the dates are correctly formatted if the user language is English. The same can be observed for dates of search results.
So in case of German, the date for an issue is i.e. displayed as

4. 32010000UTC01bUTCWed, 20 Jan 2010 00:00:00 +0000 2021

While in case of English it is correctly displayed as

January 20, 2010

The primary menu, the page title, and also the issue title display the correct translations (i.e. English or German). So it is not the case that the language context is not recognized. It is only the date that is messed up.
The affected site uses the “Health Science” theme. But changing the theme to the default one, does not help.
The default language of the site is German.

Any ideas what could cause this and how to fix it?

Your’s

Felix

1 Like

There has been some changes in the date-time formatting options:

https://docs.pkp.sfu.ca/learning-ojs/en/settings-website#date-and-time

Somehow some of the display options had been set to “custom format”. This format, however, was ill formatted, and so OJS could not render the date appropriately.

Fixing the formatting options did the trick.

1 Like