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

Fix standalone day names #9720

Merged
merged 1 commit into from Feb 7, 2016
Merged

Fix standalone day names #9720

merged 1 commit into from Feb 7, 2016

Conversation

sgiehl
Copy link
Member

@sgiehl sgiehl commented Feb 5, 2016

fixes #9717

@sgiehl sgiehl added not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Needs Review PRs that need a code review labels Feb 5, 2016
@sgiehl sgiehl added this to the 2.16.1 milestone Feb 5, 2016
@mattab mattab modified the milestones: 2.16.x, 2.16.1 Feb 6, 2016
@tsteur
Copy link
Member

tsteur commented Feb 7, 2016

@sgiehl I couldn't find anything re ccc in the codebase, neither the translation. Do you mind pointing me to a file just to understand how it works?

@sgiehl
Copy link
Member Author

sgiehl commented Feb 7, 2016

We are using CLDR date/time formats. According to the definitions (http://cldr.unicode.org/translation/date-time) a lowercase c is used for standalone day names. So the uppercase C was kind of a typo.

Russian for example uses standalone day names in some formats (e.g. https://github.com/piwik/piwik/blob/master/plugins/Intl/lang/ru.json#L305)

I've also added a test, to ensure it works correctly now.

@tsteur
Copy link
Member

tsteur commented Feb 7, 2016

Thx, was just not sure how it works.

tsteur added a commit that referenced this pull request Feb 7, 2016
@tsteur tsteur merged commit 35547ee into master Feb 7, 2016
@tsteur tsteur deleted the fixstandalonedaynames branch February 7, 2016 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants