cpython/Misc/NEWS.d/next/Documentation
Miss Islington (bot) 35aa0b0ced
bpo-34903: Document that some strptime formats only require 1 digit (GH-14149)
For datetime.datetime.strptime(), the leading zero for some two-digit formats is optional.

This adds a footnote to the strftime/strptime documentation to reflect this fact, and adds some tests to ensure that it is true.

bpo-34903
(cherry picked from commit 6b9c204ee7)

Co-authored-by: Mike Gleen <mike.gleen@gmail.com>
2019-06-18 12:21:27 -07:00
..
2019-06-17-09-36-46.bpo-34903.r_wGRc.rst bpo-34903: Document that some strptime formats only require 1 digit (GH-14149) 2019-06-18 12:21:27 -07:00
README.rst

README.rst

Put news entry `blurb`_ files for the *Documentation* section in this directory.

.. _blurb: https://pypi.org/project/blurb/