Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.
hi forum

 
Post new topic   Reply to topic    Smarty Forum Index -> Tips and Tricks
View previous topic :: View next topic  
Author Message
sivaraman
Smarty n00b


Joined: 02 Jan 2012
Posts: 1

PostPosted: Mon Jan 02, 2012 7:48 am    Post subject: hi forum Reply with quote

{$Leavedetails[lvs]->LVD_dt_holidays|date_format:"%A %e %B"}


now i am using this code for converting date into string. but now i am want to placing the suffix near date ex(th,nd,rd). without using <sup> tags
pls help me
Back to top
View user's profile Send private message Send e-mail
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7285
Location: Lincoln Nebraska, USA

PostPosted: Mon Jan 02, 2012 2:36 pm    Post subject: Reply with quote

create a plugin to add the suffix, or maybe something is already available if you search.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Tips and Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP