Skip to content

datetime.utcnow() should return a timezone aware datetime #90477

Closed
@rtphokie

Description

@rtphokie
mannequin
BPO 46319
Nosy @abalkin, @vadmium, @pganssle, @rtphokie
Superseder
  • bpo-12756: datetime.datetime.utcnow should return a UTC timestamp
  • 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 = <Date 2022-01-10.03:21:41.082>
    created_at = <Date 2022-01-09.18:37:40.462>
    labels = ['type-bug', 'library', '3.9', '3.10', '3.11']
    title = 'datetime.utcnow() should return a timezone aware datetime'
    updated_at = <Date 2022-01-10.03:21:41.081>
    user = 'https://github.com/rtphokie'

    bugs.python.org fields:

    activity = <Date 2022-01-10.03:21:41.081>
    actor = 'p-ganssle'
    assignee = 'none'
    closed = True
    closed_date = <Date 2022-01-10.03:21:41.082>
    closer = 'p-ganssle'
    components = ['Library (Lib)']
    creation = <Date 2022-01-09.18:37:40.462>
    creator = 'rtphokie'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 46319
    keywords = []
    message_count = 3.0
    messages = ['410160', '410179', '410183']
    nosy_count = 4.0
    nosy_names = ['belopolsky', 'martin.panter', 'p-ganssle', 'rtphokie']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '12756'
    type = 'behavior'
    url = 'https://bugs.python.org/issue46319'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.9only security fixesstdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions