Excerpts from Blake Burkhart's message of Sat Jan 02 00:59:08 -0500 2010: > Excerpts from William Morgan's message of Fri Jan 01 09:13:08 -0600 2010: > > I suspect so. Can you provide a patch that uses the downcase trick and > > doesn't check for the ruby version or the OS? (Maybe with a helpful > > comment.) That should work everywhere, lame as it may be. > > And [MacRuby][1], which is completely beta everything, but is 1.9: > $ macruby --version > MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64] > $ macruby -e 'puts Time.now().strftime("%l:%M%P")' > 11:25P > > I'm pretty sure that *should* work on MacRuby, but it's not. I think that's > possibly their fault though. I guess I could report it as a bug to them then. > I'm not really using that ruby version for anything, so I don't know how > complete it is. > > [1]: http://www.macruby.org/
I've resubmitted the patch in a new thread titled "[PATCH] fixed am/pm display for ruby 1.8 darwin (v2)", but like William says it should work everywhere including MacRuby because it just emulate's %P by downcase()ing %p. _______________________________________________ Sup-devel mailing list Sup-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-devel