Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

strftime does not implement %-flag in 1.8 mode. #433

ileitch opened this Issue Dec 8, 2012 · 1 comment


None yet
2 participants
Copy link

ileitch commented Dec 8, 2012

jruby 1.7.1 (ruby-1.8.7p370) 2012-12-03 30a153b on Java HotSpot(TM) 64-Bit Server VM 1.7.0_09-b05 [darwin-x86_64]

=> "1.9.3"
>>'%b %-d')
=> "Dec 7"
=> "1.8.7"
>>'%b %-d')
=> "Dec %-d"

This comment has been minimized.

Copy link

BanzaiMan commented Dec 9, 2012

A part of me says, who cares about 1.8?

Just kidding.

So, did #strftime in 1.8.7 get the %-d (and friends) back ported? RubySpec doesn't currently test them.

It's pretty easy to fix.

@BanzaiMan BanzaiMan closed this in 0ff28f0 Dec 9, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.