python-babel / babel

The official repository for Babel, the Python Internationalization Library
http://babel.pocoo.org/
BSD 3-Clause "New" or "Revised" License
1.29k stars 432 forks source link

Full date format has changed for en_GB #1081

Open jma opened 1 month ago

jma commented 1 month ago

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.

akx commented 1 month ago

So it would seem! 😄

Please see https://github.com/unicode-org/cldr/pull/3231 for the PR that changed this in the CLDR data.