Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9c973ce

Browse filesBrowse files
committed
feat: to rst:568
1 parent 7d503db commit 9c973ce
Copy full SHA for 9c973ce

File tree

Expand file treeCollapse file tree

1 file changed

+15
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+15
-2
lines changed

‎library/time.po

Copy file name to clipboardExpand all lines: library/time.po
+15-2Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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`."
959959
msgstr ""
960+
"根據格式解析表示時間的字串。回傳值是 :class:`struct_time`,如同由 :func:"
961+
"`gmtime` 或 :func:`localtime` 回傳的一樣。"
960962

961963
#: ../../library/time.rst:548
962964
msgid ""
@@ -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."
970972
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* 都必須是字串。"
971978

972979
#: ../../library/time.rst:556
973980
msgid "For example:"
974-
msgstr ""
981+
msgstr "例如:"
975982

976983
#: ../../library/time.rst:563
977984
msgid ""
@@ -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)."
982989
msgstr ""
990+
"對 ``%Z`` 指令的支援基於 ``tzname`` 中包含的值以及 ``daylight`` 是否為 true。"
991+
"因此,除了識別始終已知的 UTC 和 GMT(且被考慮為非日光節約時區)外,這是特定於"
992+
"平台的。"
983993

984994
#: ../../library/time.rst:568
985995
msgid ""
@@ -989,6 +999,9 @@ msgid ""
989999
"platform and thus does not necessarily support all directives available that "
9901000
"are not documented as supported."
9911001
msgstr ""
1002+
"僅支援文檔中指定的指令。由於 ``strftime()`` 是根據每個平台實作的,有時它可以"
1003+
"提供比列出的還要更多的指令。但是 ``strptime()`` 與任何平台無關,因此不一定支"
1004+
"援所有未記載為支援的指令。"
9921005

9931006
#: ../../library/time.rst:577
9941007
msgid ""

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.