Date.strftime bug fixes (%u, %w, %s) and addition of %G
-------------------------------------------------------

                 Key: JRUBY-3913
                 URL: http://jira.codehaus.org/browse/JRUBY-3913
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.4
         Environment: Java 6, Mac OS X 10.5.8, github trunk
            Reporter: Hiro Asari
             Fix For: JRuby 1.4
         Attachments: 0002-Fix-bugs-in-tokens-s-u-and-w.patch

Patch that I contributed (committed in a74827e) had a few bugs (%u was wrong, 
%w was incorrect before my patch; %s showed milliseconds since epoch, rather 
than seconds, and so on).

This patch fixes these.

Also, an undocumented (in MRI) token '%G' is added. From GNU C library's 
description, it is the ISO week number.

I've also added some test cases for these.

-- 
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