polish icon indicating copy to clipboard operation
polish copied to clipboard

Added support for no-padded day of month (%-d)

Open piotrekbator opened this issue 5 years ago • 3 comments

Up to now month names were inflected only when used after %d (0-padded) or %e (blank-padded). This adds no-padded version - %-d to the list.

piotrekbator avatar Feb 06 '20 19:02 piotrekbator

Is this gem necessary anymore? I think rails-i18n should cover this.

grk avatar Feb 06 '20 20:02 grk

Rails-i18n doesn't inflect month names - at least I'm unable to find any trace of it being able to do it. Am I wrong?

Besides, your gem works perfectly well, I've used it for years, so why bother looking for alternatives :)

piotrekbator avatar Feb 06 '20 20:02 piotrekbator

@piotrekbator could you check out the modernize branch? It should have tests passing on a modern ruby version, and hopefully work OK in a Rails app.

grk avatar Feb 06 '20 21:02 grk