aboutsummaryrefslogtreecommitdiffstats
path: root/lib/carlosgoce
diff options
context:
space:
mode:
Diffstat (limited to 'lib/carlosgoce')
-rw-r--r--lib/carlosgoce/calendar.rb2
1 files changed, 1 insertions, 1 deletions
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
}
}