From: Harry Kakueki Date: 2011-02-02T00:34:23+09:00 Subject: Re: Date.today.strftime("%A"). On Tue, Feb 1, 2011 at 10:04 AM, Ramsees Rastafa wrote: > Date.today.strftime("%A") returns "Monday", what can I do to get "Lunes" > (in spanish). > > Im using Windows 7 with Ruby 1.9.2, my regional settings are set to > "Spanish Mexico". > > Thank you. > If nothing better comes along, you could try something like this. require 'date' h = {"Monday" => "Lunes","Tuesday" => "Martes","Sunday" => "Domingo"} p h[Date.today.strftime("%A")] Harry