I'm attempting to override date formats using a theme_preprocess in my template.php file, but no luck...and it seems as if this is due to a change in the node.tpl.php file. If that is the case, how would I reference/change the date format within the node.tpl.php file to correctly display the date format I have set up?

I want to achieve this: "Posted on February 1st, 2012 by Author"

Comments

avolve’s picture

Having a similar issue myself — either WSOD (my error somewhere), or no change to $date

threadsniper’s picture

I wasn't able to resolve this avolve. I am currently taking a look at some template files from another project I am involved with and will report back soon with any progress.

avolve’s picture

here is what I am using in a custom tpl file

<?php print format_date($created, 'custom', 'l, dS M Y'); ?>

to replace

<?php print $date; ?>

steinmb’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Altering date -formats is not related to Omega in any special way.