@@ -8,7 +8,7 @@ msgstr ""
88"Project-Id-Version : Python 3.12\n "
99"Report-Msgid-Bugs-To : \n "
1010"POT-Creation-Date : 2024-05-09 00:03+0000\n "
11- "PO-Revision-Date : 2024-07-16 21:52 +0800\n "
11+ "PO-Revision-Date : 2024-07-17 21:32 +0800\n "
1212"Last-Translator : Adrian Liaw <adrianliaw2000@gmail.com>\n "
1313"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
1414"tw)\n "
@@ -957,6 +957,8 @@ msgid ""
957957"Parse a string representing a time according to a format. The return value "
958958"is a :class:`struct_time` as returned by :func:`gmtime` or :func:`localtime`."
959959msgstr ""
960+ "根據格式解析表示時間的字串。回傳值是 :class:`struct_time`,如同由 :func:"
961+ "`gmtime` 或 :func:`localtime` 回傳的一樣。"
960962
961963#: ../../library/time.rst:548
962964msgid ""
@@ -968,10 +970,15 @@ msgid ""
968970"accurate values cannot be inferred are ``(1900, 1, 1, 0, 0, 0, 0, 1, -1)``. "
969971"Both *string* and *format* must be strings."
970972msgstr ""
973+ "*format* 參數使用與 :func:`strftime` 相同的指令;預設為 ``\" %a %b %d %H:%M:"
974+ "%S %Y\" ``,與 :func:`ctime` 回傳的格式匹配。如果 *string* 無法根據 *format* "
975+ "解析,或解析後有多餘的資料,將引發 :exc:`ValueError`。當無法推斷更精確的值"
976+ "時,用來填充任何缺失資料的預設值為 ``(1900, 1, 1, 0, 0, 0, 0, 1, -1)``。"
977+ "*string* 和 *format* 都必須是字串。"
971978
972979#: ../../library/time.rst:556
973980msgid "For example:"
974- msgstr ""
981+ msgstr "例如: "
975982
976983#: ../../library/time.rst:563
977984msgid ""
@@ -980,6 +987,9 @@ msgid ""
980987"platform-specific except for recognizing UTC and GMT which are always known "
981988"(and are considered to be non-daylight savings timezones)."
982989msgstr ""
990+ "對 ``%Z`` 指令的支援基於 ``tzname`` 中包含的值以及 ``daylight`` 是否為 true。"
991+ "因此,除了識別始終已知的 UTC 和 GMT(且被考慮為非日光節約時區)外,這是特定於"
992+ "平台的。"
983993
984994#: ../../library/time.rst:568
985995msgid ""
@@ -989,6 +999,9 @@ msgid ""
989999"platform and thus does not necessarily support all directives available that "
9901000"are not documented as supported."
9911001msgstr ""
1002+ "僅支援文檔中指定的指令。由於 ``strftime()`` 是根據每個平台實作的,有時它可以"
1003+ "提供比列出的還要更多的指令。但是 ``strptime()`` 與任何平台無關,因此不一定支"
1004+ "援所有未記載為支援的指令。"
9921005
9931006#: ../../library/time.rst:577
9941007msgid ""
0 commit comments