| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Fixes #398
|
| |
|
|
|
|
| |
Fixes #485
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Thanks to @stringtheory for the bug report!
Fixes #428
|
|
|
|
|
|
| |
In summer time zones, the test for "get_timezone_name" failed because the
construct used to obtain a local time did not deal properly with DST offsets.
As recommended by pytz, it is better to convert to local time from UTC.
|
|
|
|
|
|
|
|
| |
`zh_Hant` locale data does not have names for the
`am` and `pm` day periods in the `format`/`abbreviated` context,
so fallback logic is added to deal with that eventuality.
Fixes #378
|
| |
|
|\
| |
| | |
Add pre-commit and apply fixes
|
| | |
|
| |
| |
| |
| | |
Added test cases and additional pattern for Weekday format
|
| |
| |
| |
| | |
Added test cases and additional pattern for quarter format
|
|/
|
|
| |
Fixes https://github.com/python-babel/babel/issues/350
|
|
|
|
| |
https://github.com/python-babel/babel/issues/325
|
|
|
|
|
|
|
| |
Added argument 'return_z' and two values 'iso8601' and 'iso8601_short'
in argument width in get_timezone_gmt(), 'return_city' argument is add
in get_timezone_location() and 'return_zone' in get_timezone_name() so
we can implement iso8601 timezone patterns.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
* Aside from the usual data changes, the provisional aa locale is no longer,
so we can't use it for tests. Instead, ii is used (chosen by virtue of ii.xml
being fairly small, i.e. probably as incomplete as aa).
* ms_Latn_SG is not in use anymore either; use sr_Latn_ME instead.
Closes #226
Closes #290
|
|
|
|
|
|
| |
form of the month
Fixes #288
|
| |
|
| |
|
|\ |
|
| | |
|
| |
| |
| |
| | |
Fixed tests to account for various minor changes in cldr-24.
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|