Skip to content

Using datetime.datetime.utcnow().timestamp() in Python3.6.0 can't get correct UTC timestamp. #77474

Closed
@HanShaowen

Description

@HanShaowen
BPO 33293
Nosy @tim-one, @ned-deily

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 2018-04-17.20:50:45.548>
created_at = <Date 2018-04-17.05:20:37.481>
labels = ['extension-modules', 'type-bug', 'invalid']
title = "Using datetime.datetime.utcnow().timestamp() in Python3.6.0 can't get correct UTC timestamp."
updated_at = <Date 2018-04-18.03:27:51.512>
user = 'https://bugs.python.org/HanShaowen'

bugs.python.org fields:

activity = <Date 2018-04-18.03:27:51.512>
actor = 'Han Shaowen'
assignee = 'none'
closed = True
closed_date = <Date 2018-04-17.20:50:45.548>
closer = 'ned.deily'
components = ['Extension Modules']
creation = <Date 2018-04-17.05:20:37.481>
creator = 'Han Shaowen'
dependencies = []
files = []
hgrepos = []
issue_num = 33293
keywords = []
message_count = 10.0
messages = ['315377', '315413', '315414', '315415', '315418', '315419', '315421', '315433', '315434', '315435']
nosy_count = 3.0
nosy_names = ['tim.peters', 'ned.deily', 'Han Shaowen']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue33293'
versions = ['Python 3.6']

Metadata

Metadata

Assignees

No one assigned

    Labels

    extension-modulesC modules in the Modules dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions