-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Add support for alternative month format #3914
Labels
Comments
|
Some discussions about standardizing this in C: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In
ru_RU.UTF-8
locale, there's a possibility to specify alternative month format.For example, specifying
%B
format,strftime
will output this (providing that said locale is in charge):марта
.It works well in scenarios like
%d %B
, which will result in31 марта
. However,strftime
has support for%OB
which will outputМарт
with the russian locale. This will be more appropriate to use in formats like%OB %Y
which results inМарт 2024
.It seems this functionality is not at all present in this library, when I try to format a date like
%OB
the library throws an invalid format exception.The text was updated successfully, but these errors were encountered: