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

html_select_date: Ordinal suffixes and english seperators

 
Post new topic   Reply to topic    Smarty Forum Index -> Plugins
View previous topic :: View next topic  
Author Message
Intimidated
Smarty n00b


Joined: 10 Oct 2008
Posts: 3

PostPosted: Tue Mar 29, 2011 1:36 am    Post subject: html_select_date: Ordinal suffixes and english seperators Reply with quote

This patch provides Ordinal Suffixes, as in

Quote:
26th March 2011


and english seperators, as in

Quote:
26 of March, 2011


to the html_select_date plugin.

Combined, these two options (disabled by default) provide a proper, readable english date:

Quote:
26th of March, 2011


Patch is against the latest stable Smarty 3 release.

www.streamsense.net/function.html_select_date.patch
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Plugins 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