Page 1 of 1

User Preferences Date Format String with CMSMS 2.2.14

Posted: Thu Apr 16, 2020 3:00 pm
by cyrcle
Hello,

Could someone confirm that in "My Account / User Preferences", the value entered in the Date Format String field is no longer interpreted since update to CMSMS 2.2.14?
For example, if I enter %x %X, %x %X is displayed in News Post Date or in File Manager for File Date.
If I enter %d/%m/%Y %T, :o %04/%01/%2020 %CET is displayed :o in News Post Date instead of 04/01/2020 13:15:28.

Thanks.

Re: User Preferences Date Format String with CMSMS 2.2.14

Posted: Thu Apr 16, 2020 5:18 pm
by velden
Yes, I can confirm.

Re: User Preferences Date Format String with CMSMS 2.2.14

Posted: Thu Apr 16, 2020 8:00 pm
by jce76350
Use in your news template for example
{$entry->postdate|date_format:'%d/%m/%Y %T'}

Re: User Preferences Date Format String with CMSMS 2.2.14

Posted: Fri Apr 17, 2020 6:12 am
by velden

Re: User Preferences Date Format String with CMSMS 2.2.14

Posted: Fri Apr 17, 2020 9:25 am
by cyrcle
Sorry jce76350 if I was not clear, I was talking about the display of dates in the administration pages.

Thank you velden.