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
In CET it produces tm_hour=1 but I think it should be tm_hour=0 like it is in UTC. I believe that freezegun takes the environment timezone into account when mocking localtime, when I would expect it to consider a default UTC timezone.
I also noticed that libfaketime produce a tm_isdst=0 when Freezegun produce tm_isdst=-1 but I am not sure what I am thinking about that.
The text was updated successfully, but these errors were encountered:
Freezegun mocked time.localtime seems to depend on the environment timezone.
In CET it produces
tm_hour=1
but I think it should betm_hour=0
like it is in UTC. I believe that freezegun takes the environment timezone into account when mockinglocaltime
, when I would expect it to consider a default UTC timezone.I also noticed that libfaketime produce a
tm_isdst=0
when Freezegun producetm_isdst=-1
but I am not sure what I am thinking about that.The text was updated successfully, but these errors were encountered: