summaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
* Become 2.12.1v2.12.1Aarni Koskela2023-02-281-1/+1
|
* Update copyright year to 2023Aarni Koskela2023-02-281-1/+1
|
* Become 2.12.0v2.12.0Aarni Koskela2023-02-281-2/+2
|
* Add two new options in cmdline.rst docs (#963)Maciej Olko2023-02-031-0/+6
| | | Added in #720 and #832.
* Finally remove get_next_timezone_transition (#958)Aarni Koskela2023-01-252-24/+1
|
* Apply ruff UP025 (unicode literal prefix) fixAarni Koskela2023-01-181-7/+7
|
* Apply ruff I category fixesAarni Koskela2023-01-181-1/+1
|
* Apply ruff E category fixesAarni Koskela2023-01-181-1/+2
|
* Implement zoneinfo support and make pytz optional (#940)DS/Charlie2023-01-113-21/+25
|
* Enable pre-commit (#943)Aarni Koskela2023-01-111-1/+1
| | | | | | | * Update pre-commit config syntax * CI: run pre-commit * CI: set up pip caching
* Drop support for EOL Python 3.6 (#919)Aarni Koskela2022-11-231-1/+1
|
* feat: Support for short compact currency formats (#926)Jonah Lawrence2022-11-041-0/+2
| | | | Co-authored-by: Jun Omae (大前 潤) <42682+jun66j5@users.noreply.github.com>
* Update docs build configuration (#924)Aarni Koskela2022-11-022-4/+4
| | | | | | | | * Use Python 3.11 * Use Sphinx 5 (and update extlinks configuration) * Use Python 3 intersphinx mapping * Install Babel from the build directory Refs https://github.com/python-babel/babel/issues/920
* Become 2.11.0v2.11.0Aarni Koskela2022-11-011-2/+2
|
* Add support for compact decimal formats (#909)Jonah Lawrence2022-10-312-1/+3
|
* Update Python versions in dev docsRaphael Nestler2022-08-211-18/+2
| | | Also remove mentions of Python 2 workarounds, since they aren't applicable anymore.
* Become 2.10.2Aarni Koskela2022-06-141-1/+1
|
* Fix up some Python2-isms using pyupgradeAarni Koskela2022-05-101-1/+0
|
* Become 2.10.1v2.10.1Aarni Koskela2022-04-201-1/+1
|
* Become 2.10.0v2.10.0Aarni Koskela2022-04-201-2/+2
|
* Fix Sphinx manpage configurationAarni Koskela2022-01-251-2/+1
| | | | Fixes #775
* Refresh cmdline documentationAarni Koskela2022-01-251-44/+69
| | | | | | Would have used https://sphinxcontrib-autoprogram.readthedocs.io/en/stable/ if we used argparse... Fixes #771
* Improve number formatting exampleAarni Koskela2022-01-251-1/+4
| | | | Fixes #575
* Changelog: rename to .rst, use :gh: for GitHub linksAarni Koskela2022-01-251-1/+1
| | | | Refs #801
* Set up .readthedocs.yml to build using Sphinx 4Aarni Koskela2022-01-251-0/+1
|
* Improve documentation for TimezoneTransitionAarni Koskela2022-01-251-0/+2
| | | | Fixes #823
* Update copyright year to 2022Aarni Koskela2022-01-251-1/+1
|
* Become 2.9.1Aarni Koskela2021-04-281-2/+2
| | | | | * Update copyright year * Update changelog
* Bump version to 2.9.0v2.9.0Aarni Koskela2020-11-121-2/+2
|
* Merge branch '2.8-maintenance' into masterAarni Koskela2020-11-111-2/+2
|\
| * Bump version to 2.8.1v2.8.12.8-maintenanceAarni Koskela2020-11-111-1/+1
| |
| * Bump copyright year from 2019 to 2020Aarni Koskela2020-11-111-1/+1
| |
* | docs/numbers.rst : update parse_number comments (#708)Brad Martin2020-05-101-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | * docs/numbers.rst : test format of revised comments * docs/numbers.rst : test final doc changes * docs/numbers.rst : refine format/language * docs/numbers.rst : refine language/format * docs/numbers.rst : refine language/format * docs/numbers.rst : experiment with spacing
* | Update license.rstTyler Kennedy2020-04-031-1/+1
| | | | | | The documentation refers to the license as the license for _flask_ instead of Babel.
* | catalog.rst: Add __iter__ to Catalog documentationCyanNani1232020-01-281-0/+1
|/ | | | | | | | The declaration of __iter__ under the special-members directive makes it visible in the documentation. The docstring describing __iter__ already exists. Closes https://github.com/python-babel/babel/issues/128
* Bump versionAarni Koskela2019-12-311-2/+2
|
* Add install of pytz before import_cldrSteve (Gadget) Barnes2019-12-311-4/+5
| | | closes #670
* Bump copyright year from 2018 to 2019Aarni Koskela2019-05-271-1/+1
|
* Bump versionAarni Koskela2019-05-271-2/+2
|
* Remove all references to deprecated easy_installJon Dufresne2018-12-181-48/+5
| | | | | | | | | | easy_install is deprecated and its use is discouraged by PyPA: https://setuptools.readthedocs.io/en/latest/easy_install.html > Warning: Easy Install is deprecated. Do not use it. Instead use pip. Follow upstream advice and only recommended supported tools.
* switch print statement in docs to print functionNotAFile2018-12-181-2/+2
|
* add a `suggestions` attribute to `NumberFormatError`Changaco2018-06-171-0/+1
|
* Use https URLs throughout project where availableJon Dufresne2018-06-138-13/+13
| | | | Updated docs and code comments.
* Merge pull request #587 from jdufresne/pypiAarni Koskela2018-06-132-2/+2
|\ | | | | Update all pypi.python.org URLs to pypi.org
| * Update all pypi.python.org URLs to pypi.orgJon Dufresne2018-06-092-2/+2
| | | | | | | | | | | | For details on the new PyPI, see the blog post: https://pythoninsider.blogspot.ca/2018/04/new-pypi-launched-legacy-pypi-shutting.html
* | Simplify format_currency code by pulling out/using helpers.Luke Plant2018-06-071-0/+2
|/ | | | | | | | | | | | | | | | | | | | | | | | In detail: 1. Use the already existing get_currency_name function which does the plural form logic already. 2. Create a similar `get_currency_unit_pattern` function. This function could be useful if someone wanted to write something very similar to the _format_currency_long_name functionality but with some different customizations, so it is now publicly documented. 3. Simplify the _format_currency_long_name function - it is now much flatter. 4. Add more tests to ensure certain cases are really covered. (e.g. different unit patterns depending on the count) An upshot of the changes is that we have reduced (and made more consistent) the number of places where we need to peek into `Locale._data` - get_currency_name and get_currency_unit_pattern are the only places that babel.numbers does this.
* Become 2.6.0v2.6.0Aarni Koskela2018-05-281-2/+2
|
* Merge pull request #559 from python-babel/authorsAarni Koskela2018-05-281-1/+1
|\ | | | | Authors and license stuff
| * Update copyright header years, and include the Babel teamAarni Koskela2018-02-021-1/+1
| |
* | Month and Day must be valid tokensPTrottier2018-04-271-1/+1
|/ | | | | | | | | ````>>> dt = datetime(2007, 04, 01, 15, 30, tzinfo=UTC) File "<stdin>", line 1 dt = datetime(2007, 04, 01, 15, 30, tzinfo=UTC) ^ SyntaxError: invalid token```` See: https://docs.python.org/3.5/library/datetime.html#datetime.datetime.month