Re: [MacRuby] #537: Missing Time#strftime formatter: "%P"
#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/>
participants (1)
-
MacRuby