Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1655efb

Browse files
[po] auto sync
1 parent 4d2f2b2 commit 1655efb

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "93.72%", "updated_at": "2024-02-05T09:55:44Z"}
1+
{"translation": "93.72%", "updated_at": "2024-02-05T14:55:39Z"}

library/datetime.po

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2502,6 +2502,12 @@ msgid ""
25022502
":meth:`tzinfo.fromutc` calls :meth:`dst` to account for DST changes when "
25032503
"crossing time zones."
25042504
msgstr ""
2505+
"如果 DST 未启用则返回 ``timedelta(0)``。 如果 DST 已启用,则将差值作为一个 :class:`timedelta` "
2506+
"对象返回(请参阅 :meth:`utcoffset` 了解详情)。 请注意 DST 差值如果可用,就会直接被加入 :meth:`utcoffset` "
2507+
"所返回的 UTC 时差,因此无需额外查询 :meth:`dst`,除非你希望单独获取 DST 信息。 "
2508+
"例如,:meth:`datetime.timetuple` 会调用其 :attr:`~.datetime.tzinfo` 属性的 :meth:`dst`"
2509+
" 方法来确定应该如何设置 :attr:`~time.struct_time.tm_isdst` 旗标,而 :meth:`tzinfo.fromutc` "
2510+
"会调用 :meth:`dst` 来在跨越时区时处理 DST 的改变。"
25052511

25062512
#: ../../library/datetime.rst:2045
25072513
msgid ""

0 commit comments

Comments
 (0)