[Solved]Content Manager Date lock

Forum rules
Only administrators can post or move items here.
Post Reply
jce76350
Beta Tester
Beta Tester
Posts: 2079
Joined: Mon May 29, 2006 1:20 pm
Location: Rouen

[Solved]Content Manager Date lock

Post 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/>
Jean-Claude Etiemble MyPageFr
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Content Manager Date lock

Post by calguy1000 »

That date format is hardcoded. This is because it's important to display the time there.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
jce76350
Beta Tester
Beta Tester
Posts: 2079
Joined: Mon May 29, 2006 1:20 pm
Location: Rouen

Re: Content Manager Date lock

Post 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 ;)
Jean-Claude Etiemble MyPageFr
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Content Manager Date lock

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
jce76350
Beta Tester
Beta Tester
Posts: 2079
Joined: Mon May 29, 2006 1:20 pm
Location: Rouen

Re: [Solved]Content Manager Date lock

Post by jce76350 »

Solved by a new full install
Jean-Claude Etiemble MyPageFr
Post Reply

Return to “Closed Issues”