summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-05 13:53:54 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-05 13:53:54 +0000
commit2b1dd9da42d1c4ad847f71064785940aa4768483 (patch)
tree2226d5ab1cc00e421744ee8dcbd5721ca73f0a2a
parent1ecaaa7ed70949b9760dce39f3c5d47a0ebe5114 (diff)
downloadredmine-2b1dd9da42d1c4ad847f71064785940aa4768483.tar.gz
redmine-2b1dd9da42d1c4ad847f71064785940aa4768483.zip
fix calendar links for previous/next month (#8989).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6406 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/helpers/calendars_helper.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/helpers/calendars_helper.rb b/app/helpers/calendars_helper.rb
index 3e37f69c1..c67d16913 100644
--- a/app/helpers/calendars_helper.rb
+++ b/app/helpers/calendars_helper.rb
@@ -12,7 +12,8 @@ module CalendarsHelper
"#{month_name(target_month)}"
end
- link_to_month(('&#171; ' + name), target_year, target_month, options)
+ # \xc2\xab(utf-8) = &#171;
+ link_to_month(("\xc2\xab " + name), target_year, target_month, options)
end
def link_to_next_month(year, month, options={})
@@ -28,7 +29,8 @@ module CalendarsHelper
"#{month_name(target_month)}"
end
- link_to_month((name + ' &#187;'), target_year, target_month, options)
+ # \xc2\xbb(utf-8) = &#187;
+ link_to_month((name + " \xc2\xbb"), target_year, target_month, options)
end
def link_to_month(link_name, year, month, options={})