python / python/cpython

datetime.strptime not accepts single-digit months and days for %m and %d

Offen
#78,122 7 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@serhiy-storchaka arbeitet bereits daran.

Seit 09.10.2024.

stdlib type-bug
Vorherrschende Sprache
Python
Sterne
77.2k
Forks
36k
PR-Merge-Kennzahlen
PR-Kennzahlen ausstehend

Beschreibung

BPO 33941
Nosy @abalkin, @crwilcox, @pganssle

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = None
created_at = <Date 2018-06-22.13:03:38.217>
labels = ['type-bug', 'library']
title = 'datetime.strptime not able to recognize invalid date formats'
updated_at = <Date 2018-07-05.15:00:50.065>
user = 'https://bugs.python.org/RaghunathLingutla'

bugs.python.org fields:

activity = <Date 2018-07-05.15:00:50.065>
actor = 'p-ganssle'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2018-06-22.13:03:38.217>
creator = 'Raghunath Lingutla'
dependencies = []
files = []
hgrepos = []
issue_num = 33941
keywords = []
message_count = 3.0
messages = ['320233', '320245', '320291']
nosy_count = 4.0
nosy_names = ['belopolsky', 'crwilcox', 'p-ganssle', 'Raghunath Lingutla']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue33941'
versions = ['Python 2.7', 'Python 3.6']

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.