[New-bugs-announce] [issue38220] Wrong values for %b and %B in ca_ES and ca_AD locales

Joan report at bugs.python.org
Wed Sep 18 17:03:06 EDT 2019

New submission from Joan <aseques at gmail.com>:

There's an incorrect behaviour in the output for the strftime values when in catalan.
On the documentation at https://docs.python.org/3.7/library/datetime.html#strftime-strptime-behavior:

- %b Month as locale’s abbreviated name. Jan, Feb, …, Dec (en_US)
- %B Month as locale’s full name. January, February, …, December (en_US);

It works also in es_ES an others, while in catalan there's an extra article on the month name (and a point in the abbreviated version) that shouldn't be there de "set." and "de setembre".

Where should I go to fix this and get the documented behaviour? I haven't been able to find a translation section on python site.

components: Library (Lib)
messages: 352755
nosy: aseques
priority: normal
severity: normal
status: open
title: Wrong values for %b and %B in ca_ES and ca_AD locales
type: behavior
versions: Python 3.7

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list