aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers/link_to_helper.rb
diff options
context:
space:
mode:
authorfrancis <francis>2008-04-03 18:36:57 +0000
committerfrancis <francis>2008-04-03 18:36:57 +0000
commit9d4ec68584256510003784cce19d5af1391e35ff (patch)
treea9bb37d2287a1ad8e6a805eda9c5e1ea6eb94d0c /app/helpers/link_to_helper.rb
parent80ac23c66ed73b1a5514209e01d02b2549344442 (diff)
Remove spaces from start of date, for use just after brackets etc.
Diffstat (limited to 'app/helpers/link_to_helper.rb')
-rw-r--r--app/helpers/link_to_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/link_to_helper.rb b/app/helpers/link_to_helper.rb
index a68bdd5d4..7e4b26be7 100644
--- a/app/helpers/link_to_helper.rb
+++ b/app/helpers/link_to_helper.rb
@@ -5,7 +5,7 @@
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: francis@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: link_to_helper.rb,v 1.23 2008-03-12 16:07:13 francis Exp $
+# $Id: link_to_helper.rb,v 1.24 2008-04-03 18:36:57 francis Exp $
module LinkToHelper
@@ -102,7 +102,7 @@ module LinkToHelper
# Basic date format
def simple_date(date)
- return date.strftime("%e %B %Y")
+ return date.strftime("%e %B %Y").strip
end