[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-devel] [PATCH] fixed am/pm in thread-list-mode for ruby1.8



Excerpts from William Morgan's message of Thu Dec 31 14:53:53 -0500 2009:
> Reformatted excerpts from Eric Sherman's message of 2009-12-31:
> > Here's a patch that gives the proper am/pm display for ruby1.8 if
> > that's what's running.
> 
> Can you give a little more info? My ruby 1.8.7 is fine with %P. Was this
> broken in earlier 1.8's?

%P in 1.8.7 displays a literal "P" always, whereas %P in 1.9 display am/pm.

%p in both 1.8.7 and 1.9 displays AM/PM.

ruby1.8.7 strftime: http://ruby-doc.org/core-1.8.7/classes/Time.html#M000139
ruby1.9 strftime: http://ruby-doc.org/core-1.9/classes/Time.html#M000314

I didn't notice it until someone else mentioned it.
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel