From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.90.87.14 with SMTP id k14cs1384268agb; Fri, 1 Jan 2010 21:59:19 -0800 (PST) Received: by 10.224.78.162 with SMTP id l34mr10071442qak.260.1262411958570; Fri, 01 Jan 2010 21:59:18 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id 9si16675509qyk.61.2010.01.01.21.59.18; Fri, 01 Jan 2010 21:59:18 -0800 (PST) Received-SPF: pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-devel-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 3E23F167830A; Sat, 2 Jan 2010 00:59:18 -0500 (EST) Received: from mail-iw0-f171.google.com (mail-iw0-f171.google.com [209.85.223.171]) by rubyforge.org (Postfix) with ESMTP id 5D32A1858249 for ; Sat, 2 Jan 2010 00:59:12 -0500 (EST) Received: by iwn1 with SMTP id 1so9858683iwn.33 for ; Fri, 01 Jan 2010 21:59:11 -0800 (PST) Received: by 10.231.121.93 with SMTP id g29mr160820ibr.13.1262411951813; Fri, 01 Jan 2010 21:59:11 -0800 (PST) Received: from localhost (ip68-13-225-18.ok.ok.cox.net [68.13.225.18]) by mx.google.com with ESMTPS id 23sm15255143iwn.3.2010.01.01.21.59.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 01 Jan 2010 21:59:10 -0800 (PST) From: Blake Burkhart To: sup-devel In-reply-to: <1262358668-sup-7399@masanjin.net> References: <1262270484-sup-8396@changeling.local> <1262289195-sup-4420@masanjin.net> <1262289317-sup-7991@changeling.local> <1262290432-sup-9868@masanjin.net> <1262293338-sup-9364@changeling.local> <1262294449-sup-8418@localdomain> <1262297415-sup-6997@changeling.local> <1262358668-sup-7399@masanjin.net> Date: Fri, 01 Jan 2010 23:59:08 -0600 Message-Id: <1262410432-sup-3347@Backspace.local> User-Agent: Sup/git Subject: Re: [sup-devel] [PATCH] fixed am/pm in thread-list-mode for ruby1.8 X-BeenThere: sup-devel@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Sup developer discussion List-Id: Sup developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-devel-bounces@rubyforge.org Errors-To: sup-devel-bounces@rubyforge.org Excerpts from William Morgan's message of Fri Jan 01 09:13:08 -0600 2010: > Reformatted excerpts from Eric Sherman's message of 2009-12-31: > > Hmm. Maybe this issue only exists on OSX. > > 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. I don't know if you need any more examples of this, but I'm running Mac OS 10.6, and can reproduce this with the three different versions of ruby I happen to have installed. Apple supplied ruby: $ /usr/bin/ruby --version ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0] $ /usr/bin/ruby -e 'puts Time.now().strftime("%l:%M%P")' 11:27P Ruby from the MacPorts package manager, patchlevel 174: $ ruby --version ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin10] $ ruby -e 'puts Time.now().strftime("%l:%M%P")' 11:25P 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/ -- Blake Burkhart _______________________________________________ Sup-devel mailing list Sup-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-devel