You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
datetime.datetime.fromtimestamp have different behaviour on windows and mac #82414
bpo-36439: Inconsistencies with datetime.fromtimestamp(t) when t < 0
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=<Date2020-10-25.15:02:55.662>created_at=<Date2019-09-20.14:55:16.580>labels= ['OS-mac', 'type-bug', 'OS-windows']
title='datetime.datetime.fromtimestamp have different behaviour on windows and mac'updated_at=<Date2020-10-25.15:02:55.662>user='https://bugs.python.org/AlexandreOuellet'
Thanks for the report Alexandre, this has to do with issues with negative numbers in Window's time APIs. There's already a bug open for this, so I've marked it as a duplicate.
Activity
AlexandreOuellet commentedon Sep 20, 2019
in a python console on a windows machine:
on a macOS machine :
both machines running 3.6.9
I would expect them have the same behaviour.
ammaraskar commentedon Sep 20, 2019
Thanks for the report Alexandre, this has to do with issues with negative numbers in Window's time APIs. There's already a bug open for this, so I've marked it as a duplicate.
pganssle commentedon Nov 1, 2019
Changing the superceder here as I think bpo-36439 matches better than bpo-37527.
ronaldoussoren commentedon Oct 25, 2020
Can this issue be closed? Fixing bpo-36439 would also fix this issue.