From: Blake Burkhart <bburky@bburky.com>
To: sup-devel <sup-devel@rubyforge.org>
Subject: Re: [sup-devel] [PATCH] fixed am/pm in thread-list-mode for ruby1.8
Date: Fri, 01 Jan 2010 23:59:08 -0600 [thread overview]
Message-ID: <1262410432-sup-3347@Backspace.local> (raw)
In-Reply-To: <1262358668-sup-7399@masanjin.net>
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
next prev parent reply other threads:[~2010-01-02 5:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-31 14:48 Eric Sherman
2009-12-31 19:53 ` William Morgan
2009-12-31 20:03 ` Eric Sherman
2009-12-31 20:14 ` William Morgan
2009-12-31 21:03 ` Eric Sherman
2009-12-31 21:27 ` Benoît PIERRE
2009-12-31 22:10 ` Eric Sherman
2010-01-01 15:13 ` William Morgan
2010-01-02 5:59 ` Blake Burkhart [this message]
2010-01-02 6:13 ` Eric Sherman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1262410432-sup-3347@Backspace.local \
--to=bburky@bburky.com \
--cc=sup-devel@rubyforge.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox