[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

MONTHNAMES

Les Nightingill

4/2/2006 12:05:00 AM

I'm getting 3 unprintable characters after April when use
Date::MONTHNAMES. So I get JanuaryFebruaryMarchAprilxxxMayJune....etc
but the 3 'x's are unprintable characters!! What is this April fool
doing wrong?
It the same if I use strftime, or mydate.month.
thanks in advance

--
Posted via http://www.ruby-....


1 Answer

13

4/2/2006 11:14:00 AM

0

Hi,

Maybe you have corrupted Ruby installation or just corrupted date.rb file.
I have no unprintable characters here:

>> require 'date'
=> true
>> Date::MONTHNAMES
=> [nil, "January", "February", "March", "April", "May", "June",
"July", "August", "September", "October", "November", "December"]

--
Martins

On 4/2/06, Les Nightingill <lester@ix.netcom.com> wrote:
> I'm getting 3 unprintable characters after April when use
> Date::MONTHNAMES. So I get JanuaryFebruaryMarchAprilxxxMayJune....etc
> but the 3 'x's are unprintable characters!! What is this April fool
> doing wrong?
> It the same if I use strftime, or mydate.month.
> thanks in advance
>
> --
> Posted via http://www.ruby-....
>
>