55#
66# Translators:
77# Meng Du <[email protected] >, 20208+ # Freesand Leo <[email protected] >, 202089#
910#, fuzzy
1011msgid ""
@@ -13,7 +14,7 @@ msgstr ""
1314"Report-Msgid-Bugs-To : \n "
1415"POT-Creation-Date : 2020-05-31 09:25+0000\n "
1516"PO-Revision-Date : 2020-05-31 09:32+0000\n "
16- "Last-Translator : Meng Du <alphanow@gmail .com>, 2020\n "
17+ "Last-Translator : Freesand Leo <yuqinju@163 .com>, 2020\n "
1718"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
1819"MIME-Version : 1.0\n "
1920"Content-Type : text/plain; charset=UTF-8\n "
@@ -23,7 +24,7 @@ msgstr ""
2324
2425#: ../../library/zoneinfo.rst:2
2526msgid ":mod:`zoneinfo` --- IANA time zone support"
26- msgstr ""
27+ msgstr ":mod:`zoneinfo` --- IANA 时区支持 "
2728
2829#: ../../library/zoneinfo.rst:14
2930msgid ""
@@ -33,30 +34,35 @@ msgid ""
3334"if no system time zone data is available, the library will fall back to "
3435"using the first-party `tzdata`_ package available on PyPI."
3536msgstr ""
37+ ":mod:`zoneinfo` 模块根据 :pep:`615` 的最初说明提供了具体的时区实现来支持 IANA 时区数据库。 "
38+ "按照默认设置,:mod:`zoneinfo` 会在可能的情况下使用系统的时区数据;如果系统时区数据不可用,该库将回退为使用 PyPI 上提供的 "
39+ "`tzdata`_ 第一方包。"
3640
3741#: ../../library/zoneinfo.rst:24
3842msgid "Module: :mod:`datetime`"
39- msgstr ""
43+ msgstr "模块: :mod:`datetime` "
4044
4145#: ../../library/zoneinfo.rst:23
4246msgid ""
4347"Provides the :class:`~datetime.time` and :class:`~datetime.datetime` types "
4448"with which the :class:`ZoneInfo` class is designed to be used."
4549msgstr ""
50+ "提供 :class:`~datetime.time` 和 :class:`~datetime.datetime` "
51+ "类型,:class:`ZoneInfo` 类被设计为可配合这两个类型使用。"
4652
4753#: ../../library/zoneinfo.rst:27
4854msgid "Package `tzdata`_"
49- msgstr ""
55+ msgstr "包 `tzdata`_ "
5056
5157#: ../../library/zoneinfo.rst:27
5258msgid ""
5359"First-party package maintained by the CPython core developers to supply time"
5460" zone data via PyPI."
55- msgstr ""
61+ msgstr "由 CPython 核心开发者维护以通过 PyPI 提供时区数据的第一方包。 "
5662
5763#: ../../library/zoneinfo.rst:32
5864msgid "Using ``ZoneInfo``"
59- msgstr ""
65+ msgstr "使用 ``ZoneInfo`` "
6066
6167#: ../../library/zoneinfo.rst:34
6268msgid ""
@@ -66,12 +72,16 @@ msgid ""
6672"<datetime.datetime.replace>` method or :meth:`datetime.astimezone "
6773"<datetime.datetime.astimezone>`::"
6874msgstr ""
75+ ":class:`ZoneInfo` 是 :class:`datetime.tzinfo` 抽象基类的具体实现,其目标是通过构造器、 "
76+ ":meth:`datetime.replace <datetime.datetime.replace>` 方法或 "
77+ ":meth:`datetime.astimezone <datetime.datetime.astimezone>` 来与 ``tzinfo`` "
78+ "建立关联::"
6979
7080#: ../../library/zoneinfo.rst:49
7181msgid ""
7282"Datetimes constructed in this way are compatible with datetime arithmetic "
7383"and handle daylight saving time transitions with no further intervention::"
74- msgstr ""
84+ msgstr "以此方式构造的日期时间对象可兼容日期时间运算并可在无需进一步干预的情况下处理夏令时转换:: "
7585
7686#: ../../library/zoneinfo.rst:60
7787msgid ""
@@ -81,6 +91,9 @@ msgid ""
8191"offset from *before* the transition is used when ``fold=0``, and the offset "
8292"*after* the transition is used when ``fold=1``, for example::"
8393msgstr ""
94+ "这些时区还支持在 :pep:`495` 中引入的 :attr:`~datetime.datetime.fold`。 "
95+ "在可能导致时间歧义的时差转换中(例如夏令时到标准时的转换),当 ``fold=0`` 时会使用转换 *之前* 的时差,而当 ``fold=1`` "
96+ "时则使用转换 *之后* 的时差,例如::"
8497
8598#: ../../library/zoneinfo.rst:73
8699msgid ""
0 commit comments