Page 1 of 1

[Solved]Content Manager Date lock

Posted: Wed May 28, 2014 10:17 am
by jce76350
(Rev SVN 9573)
Image
The date is on format month/day/year
and in the Settings - Global Settings - General Settings
Date Format String: %d/%m/%Y

see \CMSContentManager\templates\defaultadmin.tpl
line 281
<strong>{$mod->Lang('locked_since')}:</strong> {$row.lock.created|date_format:'%x %H:%M'}<br/>

Re: Content Manager Date lock

Posted: Wed May 28, 2014 1:48 pm
by calguy1000
That date format is hardcoded. This is because it's important to display the time there.

Re: Content Manager Date lock

Posted: Wed May 28, 2014 2:13 pm
by jce76350
Ok but this is the date that is not correctly displayed
it was month/day/year but in French this should be day/month/year ;)

Re: Content Manager Date lock

Posted: Wed May 28, 2014 2:49 pm
by calguy1000
the date format string used is '%x %H:%M' so it should be locale proper if everything else is working. It just doesn't use the cms_date_format modifier, so the user and site preferences for date format are ignored.

Re: [Solved]Content Manager Date lock

Posted: Wed May 28, 2014 7:20 pm
by jce76350
Solved by a new full install