GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||
GeezerVison is showing github.com — Documentation: Error in datetime.datetime.strptime() · Issue #94300 · python/cpython Closed Labels docsDocumentation in the Doc dirDocumentation in the Doc dir DescriptionDocumentation The documentation for datetime.datetime.strptime is incorrect: cpython/Doc/library/datetime.rst Lines 1048 to 1050 in bb8b931
This is incorrect if >>> timestr = '20200304050607.554321' >>> print(datetime.strptime(timestr, '%Y%m%d%H%M%S.%f')) 2020-03-04 05:06:07.554321 >>> print(datetime(*(time.strptime(timestr, '%Y%m%d%H%M%S.%f')[0:6]))) 2020-03-04 05:06:07 I suggest removing the cited part entirely, since since I see no easy way of correcting these lines, especially concerning timezones. Linked PRsReacted by Tom Aarsen and Rasoul Activity
MetadataMetadataAssigneesLabelsdocsDocumentation in the Doc dirDocumentation in the Doc dir ProjectsMilestoneRelationshipsDevelopmentIssue actions | ||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |