Page 1 of 1
Date format in theme?
Posted: Tue Feb 14, 2006 3:45 pm
by dale
Hiya. I am trying to write a template (just experimenting with things). I have noticed that s9y seems to define the date format in the lang files. Is there any way I can override the definition through a template? Or is modification of the lang files the only way?
Thanks for helping out!

Posted: Tue Feb 14, 2006 5:56 pm
by judebert
You can modify the templates to achieve the same result. Most of the date entries are in entries.tpl. Find any place we call |@formatTime and change it to |@date_format with the parameters specified in
the Smarty manual.
If you're feeling adventurous, you could try the Smarty parameters with the Serendipity formatTime modifier.
Posted: Wed Feb 15, 2006 12:29 pm
by dale
Thank you for the speedy reply. Your advice worked out nicely!
