PEP 431: Resolve uses of the default role (#3394)
This commit is contained in:
parent
e9448dbb41
commit
3ea21da044
|
@ -188,13 +188,13 @@ This function takes a name string that must be a string specifying a
|
||||||
valid zoneinfo time zone, i.e. "US/Eastern", "Europe/Warsaw" or "Etc/GMT".
|
valid zoneinfo time zone, i.e. "US/Eastern", "Europe/Warsaw" or "Etc/GMT".
|
||||||
If not given, the local time zone will be looked up. If an invalid zone name
|
If not given, the local time zone will be looked up. If an invalid zone name
|
||||||
is given, or the local time zone can not be retrieved, the function raises
|
is given, or the local time zone can not be retrieved, the function raises
|
||||||
`UnknownTimeZoneError`.
|
``UnknownTimeZoneError``.
|
||||||
|
|
||||||
The function also takes an optional path to the location of the zoneinfo
|
The function also takes an optional path to the location of the zoneinfo
|
||||||
database which should be used. If not specified, the function will look for
|
database which should be used. If not specified, the function will look for
|
||||||
databases in the following order:
|
databases in the following order:
|
||||||
|
|
||||||
1. Check if the `tzdata-update` module is installed, and then use that
|
1. Check if the ``tzdata-update`` module is installed, and then use that
|
||||||
database.
|
database.
|
||||||
|
|
||||||
2. Use the database in ``/usr/share/zoneinfo``, if it exists.
|
2. Use the database in ``/usr/share/zoneinfo``, if it exists.
|
||||||
|
|
Loading…
Reference in New Issue