exponent-cms team mailing list archive
-
exponent-cms team
-
Mailing list archive
-
Message #00054
About news module
Hi,
I was "translating" parts of News module and realised that "Read more" etc are hard-coded there.
Have we lost the translation level somewhere? The separation of the code and interface texts.
Anyhow, the view "showall" is insisting to give me date like this: Jan 9, 2011
In the template there is
<span class="date">{$item->publish_date|date_format}</span>
I checked that the date_format should be referring to the configuration file what shows in the admin that the date model is 01.11.2010. That would be fine and wouldn't give for the end-user a "wrong" language like now.
Config.php in the server has define("DISPLAY_DATE_FORMAT",'%d.%m.%Y');
What should we have and where in our code that the user would see 09.01.2011 instead of this "Jan 9, 2011"?
BR,
Sanna
Follow ups