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

Wrong format specifier for month name (%B instead of %OB) in calendar tooltip #3890

Open
quonb opened this issue Jan 17, 2025 · 0 comments
Open

Comments

@quonb
Copy link

quonb commented Jan 17, 2025

Glibc supports two grammatical forms of month names since version 2.27:

the "%B" and "%b" format specifiers will now produce the grammatical form required when the month is used as part of a complete date. New "%OB" and "%Ob" specifiers produce the form required when the month is named by itself. For instance, in Greek and in many Slavic and Baltic languages, "%B" will produce the month in genitive case, and "%OB" will produce the month in nominative case.

Please change %B to %OB here

os << date::format(*m_locale_, "{:L%B %Y}", ym);

and maybe here
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant