Issue Type: Bug Bug
Affects Versions: JRuby 1.7.1
Assignee: Unassigned
Components: Core Classes/Modules
Created: 13/Dec/12 1:29 PM
Description:

>jruby -e "puts Time.now.strftime('%3N')"
645000000

>jruby -e "puts Time.now.strftime('%2N')"
682000000

In fact, it always gives 9 digits, regardless of the length value.

The fix for JRUBY-6964 changed the formatting to use String.format (from the method formatTruncate) but String.format won't truncate a string that is too long.

Project: JRuby
Priority: Major Major
Reporter: Tim Hayman
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
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