diff options
Diffstat (limited to 'app/helpers/application_helper.rb')
-rw-r--r-- | app/helpers/application_helper.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 7ad5d5b31..b3c62fc5e 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -4,7 +4,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: application_helper.rb,v 1.5 2007-09-12 08:52:23 francis Exp $ +# $Id: application_helper.rb,v 1.6 2007-10-09 20:02:13 francis Exp $ module ApplicationHelper @@ -34,5 +34,10 @@ module ApplicationHelper end end + # Basic date format + def simple_date(date) + return date.strftime("%e %B %Y") + end + end |