From f31f9b3c634e357757086c9737be8d6780bf1921 Mon Sep 17 00:00:00 2001 From: Carlos Goce Date: Fri, 23 Jan 2015 18:59:53 +0100 Subject: Day names are localized --- lib/carlosgoce/calendar.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/carlosgoce/calendar.rb b/lib/carlosgoce/calendar.rb index d51df90..96ac182 100644 --- a/lib/carlosgoce/calendar.rb +++ b/lib/carlosgoce/calendar.rb @@ -22,7 +22,7 @@ module CarlosGoce m[:days_names] = Array.new.tap {|a| m[:days].each do |d| t = Time.new @year, month, d - a << t.strftime('%A').downcase + a << I18n.t('date.day_names')[t.wday].downcase end } } -- cgit v1.2.3