Skip to content

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

Description

@rtphokie
mannequin
BPO46319
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=Noneclosed_at=<Date2022-01-10.03:21:41.082>created_at=<Date2022-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=<Date2022-01-10.03:21:41.081>user='https://github.com/rtphokie'

    bugs.python.org fields:

    activity=<Date2022-01-10.03:21:41.081>actor='p-ganssle'assignee='none'closed=Trueclosed_date=<Date2022-01-10.03:21:41.082>closer='p-ganssle'components= ['Library (Lib)']
    creation=<Date2022-01-09.18:37:40.462>creator='rtphokie'dependencies= []
    files= []
    hgrepos= []
    issue_num=46319keywords= []
    message_count=3.0messages= ['410160', '410179', '410183']
    nosy_count=4.0nosy_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.9 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions