Skip to content

Translate library/datetime.rst:2501 #526

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Aug 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions library/datetime.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ msgstr ""
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-17 17:39+0800\n"
"PO-Revision-Date: 2023-08-05 15:55+0800\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"PO-Revision-Date: 2023-08-07 10:20+0800\n"
"Last-Translator: Griiid <gridwing@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
"Language: zh_TW\n"
Expand Down Expand Up @@ -3026,20 +3026,27 @@ msgid ""
"by ``time.strptime``."
msgstr ""

# format code 在這份文件第一次出現的地方是 ../../library/datetime.rst:739,應該要改成在那邊註記 (format code)
#: ../../library/datetime.rst:2501
#, fuzzy
msgid ""
"For :class:`.time` objects, the format codes for year, month, and day should "
"not be used, as :class:`time` objects have no such values. If they're used "
"anyway, ``1900`` is substituted for the year, and ``1`` for the month and "
"day."
msgstr ""
"對 :class:`.time` 物件來說,不應該使用年、月、日的格式碼 (format code),因"
"為 :class:`time` 物件並沒有這些值。如果使用這些格式碼,年份會以 ``1900`` 代"
"替、月及日會以 ``1`` 代替。"

#: ../../library/datetime.rst:2505
msgid ""
"For :class:`date` objects, the format codes for hours, minutes, seconds, and "
"microseconds should not be used, as :class:`date` objects have no such "
"values. If they're used anyway, ``0`` is substituted for them."
msgstr ""
"對 :class:`.date` 物件來說,不應該使用時、分、秒、微秒的格式碼,因為 :class:"
"`date` 物件並沒有這些值。如果使用這些格式碼,這些值都會以 ``0`` 代替。"

#: ../../library/datetime.rst:2509
msgid ""
Expand Down