8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db47c47 commit 5756c71Copy full SHA for 5756c71
library/datetime.po
@@ -1901,6 +1901,8 @@ msgid ""
1901
"``datetime.replace(tzinfo=timezone.utc)`` to make it aware, at which point "
1902
"you can use :meth:`.datetime.timetuple`."
1903
msgstr ""
1904
+"naive な ``datetime`` オブジェクトは多くの ``datetime`` メソッドでローカルな時間として扱われるため、 aware な datetime を使って UTC の時刻を表すのが好ましいです。結果として、 ``utcfromtimetuple`` は誤解を招きやすい返り値を返すかもしれません。\n"
1905
+"UTC を表す naive な ``datetime`` があった場合、 :meth:`.datetime.timetuple` が使えるところでは ``datetime.replace(tzinfo=timezone.utc)`` で aware にします。"
1906
1907
#: ../../library/datetime.rst:1346
1908
msgid ""
0 commit comments