Skip to content
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

Full date format has changed for en_GB #1081

Open
jma opened this issue May 6, 2024 · 1 comment
Open

Full date format has changed for en_GB #1081

jma opened this issue May 6, 2024 · 1 comment

Comments

@jma
Copy link

jma commented May 6, 2024

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
Copy link
Member

akx commented May 7, 2024

So it would seem! 😄

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

@akx akx added this to the Babel 2.15 milestone May 7, 2024
rerowep added a commit to rerowep/rero-ils that referenced this issue May 7, 2024
* Fixes dependencies.
* Adds safety exceptions.
* Solves babel test fails:
  python-babel/babel#1081

Co-Authored-by: Peter Weber <peter.weber@rero.ch>
rerowep added a commit to rero/rero-ils that referenced this issue May 7, 2024
* Fixes dependencies.
* Adds safety exceptions.
* Solves babel test fails:
  python-babel/babel#1081

Co-Authored-by: Peter Weber <peter.weber@rero.ch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants