How to change MM-DD-YYYY to DD-MM-YYYY

  • Application Version - e.g., OJS 3.1.2-4

submission detail is show
Last activity recorded on 2/10/2020

how to change MM-DD-YYYY to DD-MM-YYYY

thank you.

Change the date variables at you

Be sure you follow php date syntax.

Then, clean your server and browser caches and visit again the site.


but “Last activity recorded on 2/10/2020” can’t change.

thank you.

“Last activity recorded on {$date}” is not using the date_format_short set in

It seems related to the locale chosen (and the browser used) as I don’t get the same result with the English OJS interface (Chrome & Firefox) :

Last activity recorded on 11/19/2019

as with the French OJS interface (Chrome & Firefox):

Dernière activité enregistrée le 2019-11-19

Not to say that with Internet Explorer I get:

Last activity recorded on Invalid Date
Dernière activité enregistrée le Invalid Date

My reads:
date_format_short = “%Y-%m-%d”
locale = fr_CA (I also tried to set it to en_US but it didn’t change anything…)

Related post : Last activity recorded on Invalid Date - #2 by drugurkocak

Hi all,

This appears to be filed here:

Alec Smecher
Public Knowledge Project Team

1 Like

Hi @asmecher and @Marie-Helene

I’am use locale fr_FR, It’s show 29/01/2020.

If i’am use fr_CA, it’s show same you show.
date_format_short = “%Y-%m-%d”

Where is the $date template read from???
Could the information come from build.js?

Thank you @Marie-Helene