| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
When formatting a price, the number of decimals to use should be defined
by the currency. For example, JPY do not use decimal numbers at all.
However, we still allow the user to override the currency decimal digits
setting with the one from the number format.
Fixes https://github.com/mitsuhiko/babel/issues/139
|
|
|
|
|
|
|
|
| |
The NumberFormat class uses the amount of decimal digits specified by
the given format. We want to be able to ignore the amount of decimal
digits under some special circumstances.
Care must be taken since the NumberFormat instances seem to be cached.
|
|
|
|
|
| |
Process and save the <fractions> element of the supplemental data, which
indicates how many decimal places should be displayed for each currency.
|
|\
| |
| | |
CHANGES: Make 2.2 next version
|
| |
| |
| |
| |
| | |
When merging https://github.com/python-babel/babel/pull/180, the CHANGES file
modification was not performed.
|
|/
|
|
| |
We recently changed branching and this was missing from
43638b27a0a2abf71d636c8c16c1ce0b3c010cc4
|
|\
| |
| | |
Sils/wheel
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit 7d387f95f4f41ed646bcb2b4fa39dae4a601b6ce.
Another fix will be applied to get rid of #109 because of
https://github.com/python-babel/babel/issues/240 .
Fixes https://github.com/python-babel/babel/issues/240
|
|\ \
| | |
| | | |
Add CONTRIBUTING
|
| | |
| | |
| | |
| | | |
This finally fixes our review process and gives users a bug template.
|
|\ \ \
| |_|/
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This would tag every release with the date which is not what we want for
the production releases. We can use dev0 for local releases and generate
a version number including a date for development releases we will
introduce later.
|
|/ /
| |
| |
| |
| |
| | |
We will from now on use the maintenance branches only for bugfix only
releases (i.e. micro versions) to avoid all this backporting. Because of
this, what we develop on master will be the 2.2 version.
|
| |
| |
| |
| | |
DRY
|
| |
| |
| |
| |
| | |
We'll want to do a source distribution and a wheel when the release is
triggered.
|
| | |
|
|\ \
| | |
| | | |
rultor: Remove test execution
|
|/ /
| |
| |
| |
| |
| | |
Something's wrong here and we do need to debug that first. So in order
for us being able to do rultor merges, let's just not execute tests for
now.
|
| |
| |
| |
| |
| |
| | |
This will revalidate a PR at least naively (i.e. only for one platform
and python version) right before doing the actual merge and thus may
prevent breaking master.
|
|/
|
|
|
| |
This will make rultor rebase a PR and then fastforwarding the master
branch if a merge action is requested.
|
|\
| |
| | |
setup.cfg: Use universal wheel
|
| |\
| |/
|/| |
|
|\ \
| | |
| | | |
Enforce Python version in `setup.py`
|
|/ /
| |
| |
| | |
Print error message and exit if Python version requirement not satisfied.
|
|/ |
|
|\
| |
| | |
docs: Change repository adress
|
|/
|
|
| |
The repository moved.
|
|\
| |
| | |
Remove duplicate `sudo: false` entry.
|
|/ |
|
|\
| |
| | |
CHANGES: Add "narrow" support for format_timedelta
|
| |
| |
| |
| |
| | |
This was introduced in
https://github.com/moreati/babel/commit/edc5eb57b2f7c36bb419be4d23396746d233767b
and forgotten to add to CHANGES.
|
|\ \
| |/
|/| |
FixedOffsetTimezone: fix display of negative offsets
|
| | |
|
|\ \
| |/
|/| |
Remove unneeded relpath() polyfill
|
|/
|
|
|
|
|
|
| |
It looks like this dates back all the way to 2007,
and the initial import of the code in commit 00f16f9.
Since Python 2.6 is the minimum supported version, and that has
os.path.relpath this is no longer needed.
|
|\
| |
| | |
Fix odict's pop method
|
| |
| |
| |
| |
| |
| |
| | |
The items() and iteritems() methods did not contain correct values after
a call to `pop(i)`.
Fixes https://github.com/mitsuhiko/babel/issues/196
|
|\ \
| | |
| | | |
Add format_timedelta(format='narrow') support
|
| | | |
|
| |/ |
|
|\ \
| | |
| | | |
allow utf8 BOM + magic comment, closes #189
|
| | | |
|
| |/ |
|
|\ \
| | |
| | | |
Improve odict performance by making key search O(1)
|
| | | |
|
| |/ |
|
|\ \
| | |
| | | |
Add a Gitter chat link to README
|
| |/ |
|