Skip to content

narrow non-breaking space (\u202f) usage in datetime formatting #1012

@joeyorlando

Description

@joeyorlando

Overview Description

On version 2.12.1, is it intended that "\u202f" would be included in an en localized datetime?

Steps to Reproduce

>>> import babel
>>> import datetime
>>> now = datetime.datetime.now()
>>> babel.dates.format_datetime(now, format="short", locale="en")
'6/13/23, 3:27\u202fPM'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions