]> git.ipfire.org Git - thirdparty/babel.git/commit
parse_locale(): upper-case variant tag to match file system
authorAarni Koskela <akx@iki.fi>
Tue, 25 Jan 2022 13:14:22 +0000 (15:14 +0200)
committerAarni Koskela <akx@iki.fi>
Thu, 27 Jan 2022 13:23:23 +0000 (15:23 +0200)
commit8bbaa65826843391f97605bbde5c0f0a6105fd1e
treeac3cfc45d45c94b6efc923e1740ede200b0eb3ad
parent5279170b51de43a48d3a2505eb12399c81112d8a
parse_locale(): upper-case variant tag to match file system

   At all times, language tags and their subtags, including private use
   and extensions, are to be treated as case insensitive: there exist
   conventions for the capitalization of some of the subtags, but these
   MUST NOT be taken to carry meaning.

Fixes #814
babel/core.py
tests/test_core.py