- 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.
OhnO395
submission detail is show
Last activity recorded on 2/10/2020
how to change MM-DD-YYYY to DD-MM-YYYY
thank you.
OhnO395
Change the date variables at you config.inc.php.
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.
OhnO395
“Last activity recorded on {$date}” is not using the date_format_short set in config.inc.php.
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 config.php.inc. 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:
https://github.com/pkp/pkp-lib/issues/5517
Regards,
Alec Smecher
Public Knowledge Project Team
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.
config.inc.php
locale=en_US
date_format_short = “%Y-%m-%d”
Where is the $date template read from???
Could the information come from build.js?
Thank you @Marie-Helene