strftime doesn't support %h
---------------------------

                 Key: JRUBY-3871
                 URL: http://jira.codehaus.org/browse/JRUBY-3871
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.3.1
            Reporter: Ben Summers


JRuby just outputs %h, not the month name.

$ ruby -e 'puts Time.now.strftime("%d %h %Y")'
10 Aug 2009

$ /opt/jruby/bin/jruby -e 'puts Time.now.strftime("%d %h %Y")'
10 %h 2009


$ ruby -v
ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-solaris2.10]

$ /opt/jruby/bin/jruby -v
jruby 1.3.1 (ruby 1.8.6p287) (2009-06-15 2fd6c3d) (Java HotSpot(TM) Client VM 
1.6.0_11) [x86-java]




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to