/oss · 1 merged

python-babel/babel

A Python library for showing dates, numbers and text in the right format for each language.

the project on GitHub (opens in a new tab)
  1. 9 Nov 2026

    Two-digit years no longer land a century in the future

    What was broken
    Reading a short date like 3/9/99 gave the year 2099, so old dates such as birth dates moved a century ahead and a formatted date did not read back as itself.
    What I changed
    Two-digit years now fall within 80 years before and 20 years after today, the same window ICU and Java use.
    Why it matters
    Apps that read short dates get the year people meant.

    see the code, #1449 (opens in a new tab)

← every project