We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
On version 2.12.1, is it intended that "\u202f" would be included in an en localized datetime?
2.12.1
en
>>> import babel >>> import datetime >>> now = datetime.datetime.now() >>> babel.dates.format_datetime(now, format="short", locale="en") '6/13/23, 3:27\u202fPM'
The text was updated successfully, but these errors were encountered:
seems somewhat related to #1007 ?
Sorry, something went wrong.
That formatting comes from the Unicode CLDR data, and Babel itself doesn't have an opinion.
The intention with an NBSP is that the AM/PM marker doesn't wrap onto a second line where it could, e.g. in
6/13/23, 3:27 PM
but remains attached to the time instead, and the user agent would wrap elsewhere:
The narrowness is likely a typographic choice.
I'll close this off, but let me know if you have further questions!
No branches or pull requests
Overview Description
On version
2.12.1
, is it intended that "\u202f" would be included in anen
localized datetime?Steps to Reproduce
The text was updated successfully, but these errors were encountered: