diff options
author | Carlos Goce <carlosgoce@gmail.com> | 2015-01-23 18:59:53 +0100 |
---|---|---|
committer | Carlos Goce <carlosgoce@gmail.com> | 2015-01-23 18:59:53 +0100 |
commit | f31f9b3c634e357757086c9737be8d6780bf1921 (patch) | |
tree | 71cdbfde9af20dbb69e493bc5a6fd8d0ea8cbd46 /lib | |
parent | caa0a9f01c4f3a8ca85a0ce4e335c71235006432 (diff) | |
download | pdf-calendars-f31f9b3c634e357757086c9737be8d6780bf1921.tar.gz pdf-calendars-f31f9b3c634e357757086c9737be8d6780bf1921.tar.bz2 pdf-calendars-f31f9b3c634e357757086c9737be8d6780bf1921.zip |
Day names are localized
Diffstat (limited to 'lib')
-rw-r--r-- | lib/carlosgoce/calendar.rb | 2 |
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 } } |