Sugar icon indicating copy to clipboard operation
Sugar copied to clipboard

Fixed months for Polish locale

Open m-sawicki opened this issue 7 years ago • 2 comments

For some reason after upgrading sugar to 2.0 Polish locale for months got mixed up - first and alternative forms switched places. I fixed that plus added proper endings for May (it was broken, so I couldn't use {Month3} for all months). BTW. The documentation on using alternative/plural forms is really hard to find - I had to look up previous versions of this locale.

m-sawicki avatar Jul 27 '17 09:07 m-sawicki

Hi... give me a bit and I will look into this. Thanks for helping out here.

andrewplummer avatar Jul 31 '17 23:07 andrewplummer

I think it should stay as it is now. The default should be the genitive case, as it is in v2. In my opinion, people expect date.format('{d} {month} {yyyy}', 'pl') to get properly formatted date, that is '17 lutego 2021', not the improper '17 luty 2021'. The version 2 is backwards incompatible with 1 anyway, by the semver convention.

As for the missing | for May, yeah, it could be added there.

pepkin88 avatar Feb 17 '21 11:02 pepkin88