[MacRuby] #537: Missing Time#strftime formatter: "%P"
MacRuby
ruby-noreply at macosforge.org
Sat Dec 4 20:14:58 PST 2010
#537: Missing Time#strftime formatter: "%P"
-------------------------------+--------------------------------------------
Reporter: bburky@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: minor | Milestone: MacRuby Later
Component: MacRuby | Keywords:
-------------------------------+--------------------------------------------
Changes (by lsansonetti@…):
* milestone: => MacRuby Later
Comment:
Strangely enough, %p (with a lower letter) works:
{{{
$ ./miniruby -e "p Time.now.strftime('%p')"
"PM"
}}}
Also, the system's ruby (1.8.7) behaves the same:
{{{
$ ruby -e "p Time.now.strftime('%P')"
"P"
$ ruby -e "p Time.now.strftime('%p')"
"PM"
}}}
Looks like following CRuby1.9 might be tedious here, so moving to Later
for now.
--
Ticket URL: <http://www.macruby.org/trac/ticket/537#comment:7>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list