@@ -8,7 +8,7 @@ msgstr ""
8
8
"Project-Id-Version : Python 3.12\n "
9
9
"Report-Msgid-Bugs-To : \n "
10
10
"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 "
12
12
"Last-Translator : Adrian Liaw <adrianliaw2000@gmail.com>\n "
13
13
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
14
14
"tw)\n "
@@ -957,6 +957,8 @@ msgid ""
957
957
"Parse a string representing a time according to a format. The return value "
958
958
"is a :class:`struct_time` as returned by :func:`gmtime` or :func:`localtime`."
959
959
msgstr ""
960
+ "根據格式解析表示時間的字串。回傳值是 :class:`struct_time`,如同由 :func:"
961
+ "`gmtime` 或 :func:`localtime` 回傳的一樣。"
960
962
961
963
#: ../../library/time.rst:548
962
964
msgid ""
@@ -968,10 +970,15 @@ msgid ""
968
970
"accurate values cannot be inferred are ``(1900, 1, 1, 0, 0, 0, 0, 1, -1)``. "
969
971
"Both *string* and *format* must be strings."
970
972
msgstr ""
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* 都必須是字串。"
971
978
972
979
#: ../../library/time.rst:556
973
980
msgid "For example:"
974
- msgstr ""
981
+ msgstr "例如: "
975
982
976
983
#: ../../library/time.rst:563
977
984
msgid ""
@@ -980,6 +987,9 @@ msgid ""
980
987
"platform-specific except for recognizing UTC and GMT which are always known "
981
988
"(and are considered to be non-daylight savings timezones)."
982
989
msgstr ""
990
+ "對 ``%Z`` 指令的支援基於 ``tzname`` 中包含的值以及 ``daylight`` 是否為 true。"
991
+ "因此,除了識別始終已知的 UTC 和 GMT(且被考慮為非日光節約時區)外,這是特定於"
992
+ "平台的。"
983
993
984
994
#: ../../library/time.rst:568
985
995
msgid ""
@@ -989,6 +999,9 @@ msgid ""
989
999
"platform and thus does not necessarily support all directives available that "
990
1000
"are not documented as supported."
991
1001
msgstr ""
1002
+ "僅支援文檔中指定的指令。由於 ``strftime()`` 是根據每個平台實作的,有時它可以"
1003
+ "提供比列出的還要更多的指令。但是 ``strptime()`` 與任何平台無關,因此不一定支"
1004
+ "援所有未記載為支援的指令。"
992
1005
993
1006
#: ../../library/time.rst:577
994
1007
msgid ""
0 commit comments