Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rephrase copyright headers to link to the LICENSE file instead of COPYINGauthors | Aarni Koskela | 2018-02-02 | 1 | -1/+1 |
| | | | | Fixes #398 | ||||
* | Update copyright header years, and include the Babel team | Aarni Koskela | 2018-02-02 | 1 | -1/+1 |
| | |||||
* | cldr: use CLDR 31.0.1 (and fix test changes); see below!cldr-30 | Aarni Koskela | 2018-01-17 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | CLDR 31.0 separated the GMT and UTC time zones, so formatting of that time zone has changed. Most notably, "UTC" replaces "+0000" when formatting the timezone. This could break code that expects +0000. A subset (the parts supported by Babel) of the migration guide from http://cldr.unicode.org/index/downloads/cldr-31: * The locales in the language-territory population tables have been changed to be the canonical format, dropping the script where it is the default. So "ku_Latn" changes to "ku". * Plural rules: The Portuguese plural rules have changed so that all (and only) integers and decimal fractions < 2 are singular. * Timezones: The GMT timezone has been split from the UTC timezone. * Timezones: New timezone bcp47 codes have been added. * Languages "hr" and "sr" are no longer a short distance apart, for political reasons. * The primary names for CZ changed from "Czech Republic" to "Czechia", with the longer name now the alternate. | ||||
* | parse_pattern now passes original pattern string to NumberPattern | Jennifer Wang | 2016-06-03 | 1 | -1/+1 |
| | |||||
* | Add flake8 pre-commit hook and apply fixes. | Lukas Balaga | 2016-03-07 | 1 | -4/+2 |
| | |||||
* | Apply pre-commit fixes. | Lukas Balaga | 2016-02-27 | 1 | -0/+3 |
| | |||||
* | Add support for date-time skeletons | Michael Birtwell | 2016-01-04 | 1 | -0/+4 |
| | | | | | | | | The skeletons for dates and times are described on http://cldr.unicode.org/translation/date-time-patterns under Additional Date-Time Formats. And are useful when you want to some more control over formatting dates and times but don't want to force all locales to use the same pattern. | ||||
* | Improve Locale equality and hashing tests | Aarni Koskela | 2015-12-29 | 1 | -10/+18 |
| | |||||
* | Add __hash__ to Locale. | Roy Wellington Ⅳ | 2015-12-29 | 1 | -0/+5 |
| | |||||
* | Parametrize test_compatible_classes_in_global_and_localedata test | Aarni Koskela | 2015-12-21 | 1 | -13/+14 |
| | |||||
* | numbers: Properly load and expose currency format types | Isaac Jurado | 2015-09-27 | 1 | -1/+3 |
| | | | | | | | | The type of the currency format (e.g. "standard", "accounting") was not interpreted correctly from the CLDR data. Now there should not be any currency format identified by "None". Fixes https://github.com/mitsuhiko/babel/issues/201 | ||||
* | localedata: Rename to locale-datasils/wheel | Lasse Schuirmann | 2015-09-25 | 1 | -7/+7 |
| | | | | | | To fix the ImportError because of the name clash with localedata.py. locale-data is no valid python identifier and thus a nice indicator that this directory actually contains data. | ||||
* | Added unit tests for that *.dat files have only babel classes | Jun Omae | 2015-08-06 | 1 | -0/+26 |
| | |||||
* | Fixed import and format_timedelta to handle new time unit patterns in cldr-24. | benselme | 2015-01-09 | 1 | -1/+1 |
| | | | | Fixed tests to account for various minor changes in cldr-24. | ||||
* | correctly handle 'C.UTF-8' locale | Alex Morega | 2014-01-08 | 1 | -0/+4 |
| | | | | fixes #57 | ||||
* | Fixed territory aliases not working properly | Armin Ronacher | 2013-07-29 | 1 | -0/+5 |
| | |||||
* | Added another testcase for subtag expansion. | Armin Ronacher | 2013-07-29 | 1 | -0/+5 |
| | |||||
* | Fixed #37 (likely subtag resolving) | Armin Ronacher | 2013-07-28 | 1 | -0/+5 |
| | | | | | This fixes some locales not loading correctly (like zh_CN) that are defined through simplified rules in the likely-subtag mapping. | ||||
* | Fixed a bug in the subtag resolving | Armin Ronacher | 2013-07-24 | 1 | -0/+4 |
| | |||||
* | Added basic likely-subtag resolving | Armin Ronacher | 2013-07-24 | 1 | -0/+6 |
| | |||||
* | Some small fixes from #19 | Armin Ronacher | 2013-07-06 | 1 | -1/+1 |
| | |||||
* | move os_environ fixture to conftest.py | Alex Morega | 2013-07-06 | 1 | -8/+0 |
| | |||||
* | convert unittests to funcs; use os_environ fixture | Alex Morega | 2013-07-06 | 1 | -56/+29 |
| | |||||
* | test isolation for changes to os.environ | Alex Morega | 2013-07-06 | 1 | -9/+14 |
| | |||||
* | remove test suite factories | Alex Morega | 2013-07-06 | 1 | -10/+0 |
| | |||||
* | copy babel.core doctests as unit tests | Alex Morega | 2013-07-06 | 1 | -2/+196 |
| | |||||
* | move unit tests outside babel package | Alex Morega | 2013-07-06 | 1 | -0/+88 |