8000 gh-115315: Update time.rst to include microseconds field (%f) in chart by TahomaSoft · Pull Request #115316 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-115315: Update time.rst to include microseconds field (%f) in chart #115316

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 10 commits into from
Feb 27, 2024
Prev Previous commit
Next Next commit
Update time.rst
Made changes requested to put the datetime references in better context.
  • Loading branch information
TahomaSoft authored Feb 13, 2024
commit 025fcf3e27b61287341710e608264dcd083d7826
6 changes: 3 additions & 3 deletions Doc/library/time.rst
Original file line number Diff line number Diff line change
Expand Up @@ -516,9 +516,9 @@ Functions

(3)
The ``%f`` format directive only applies to :func:`strptime`,
not to :func:`strftime`.
However, see also :meth:`datetime.datetime.strptime` and
:meth:`datetime.datetime.strftime`.
not to :func:`strftime`. However, see also :meth:`datetime.datetime.strptime` and
:meth:`datetime.datetime.strftime` where the ``%f`` format directive
:ref:`applies to microseconds <format-codes>`.

(4)
When used with the :func:`strptime` function, ``%U`` and ``%W`` are only used in
Expand Down
0