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

Uppercased modifiers ignored by locale? #210

Closed
ggarnier opened this issue Jul 29, 2013 · 1 comment
Closed

Uppercased modifiers ignored by locale? #210

ggarnier opened this issue Jul 29, 2013 · 1 comment

Comments

@ggarnier
Copy link

I'm using some date/time modifiers with Date#strftime, but it seems locale doesn't work for uppercased modifiers.

Example:

I18n.l(Date.new(2013, 07, 01), format: "%B", locale: :es)
=> "julio"
I18n.l(Date.new(2013, 07, 01), format: "%^B", locale: :es)
=> "JULY"
@radar
Copy link
Collaborator

radar commented Nov 7, 2016

I think that #347 will provide a way for you to work around this problem.

@radar radar closed this as completed Nov 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants