python-babel / babel

The official repository for Babel, the Python Internationalization Library

Home Page:http://babel.pocoo.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Full date format has changed for en_GB

jma opened this issue · comments

Overview Description

Since version 2.15.0, the comma disappears from the full date format for the British locale.

Steps to Reproduce

Run the following code on version 2.14.0

from datetime import datetime
from babel.dates import format_date
format_date(datetime(2024, 5, 6), 'full', locale='en_GB')

gives 'Monday, 6 May 2024'.

Using the version 1.15.0,
it gives 'Monday 6 May 2024'.

The "comma" is missing.

So it would seem! 😄

Please see unicode-org/cldr#3231 for the PR that changed this in the CLDR data.