Smarty date issue

Hi I have a issue in SMARTY

I cannot display (st,th,nd,rd,) after a date for example

23rd December 2009

it displays as

23 December 2009

How can I do this. I checked this page

But I cannot see a value for what I need

Thanks in advance



I am not good in smarty though, but since there is no such particular modifier with date_format so i would do something like this as per the requirement.

$date = date('jS F, Y');
$smarty->assign('my_date', $date);

If smarty date modifier doesn’t fulfill your requirement then you have to make a custom one.
Here’s one that i found after quick googling:

Yes you can also tweak your requirement at logic layer(while assigning) like what rajug has mentioned