Changing the date format OJS 3.1-01

I want to change the date format.
For example, 2018-01-25 = January 25, 2018

How can you change?

Thank you in advance

Hi @Gokmen_ARSLAN

I am not sure what is supported, but maybe you could test it โ€“ you would need to experiment with the date_format_short in the
For your example, it would maybe be something like %F %d, %Y.
I am also not sure what consequences this would have in other parts of the system, e.g. interfaces to other systems, e.g. export plugins, OAI interface, etc.


Hi bozana,

I hope you are well.

I changed he date_format_short in the Unfortunatlt, it is not.

; Short and long date formats
date_format_trunc = โ€œ%m-%dโ€
date_format_short = โ€œ%Y-%m-%dโ€
date_format_long = โ€œ%B %e, %Yโ€
datetime_format_short = โ€œ%Y-%m-%d %I:%M %pโ€
datetime_format_long = โ€œ%B %e, %Y - %I:%M %pโ€
time_format = โ€œ%I:%M %pโ€

1 Like

Hi again,

I solved the problem using โ€œ%B %e, %Yโ€" format.

thanks for every things :slight_smile:

Hi all,

Note that there are potentially one or two bugs around using nonstandard date formats. See Changing date formats in can lead to misparsed dates ยท Issue #2689 ยท pkp/pkp-lib ยท GitHub for details.

Alec Smecher
Public Knowledge Project Team

1 Like

Hi again,

After changing the date format, I cannot send the email to reviewer (review request). Therefore, I begun to use previous format again, and I can send email.
How can I solve this?