Skip to content
This repository has been archived by the owner on Aug 5, 2023. It is now read-only.

serialisation.mapping - bugfix datetime objects #34

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

miili
Copy link

@miili miili commented Jul 16, 2020

datetime objects were handled incorrectly. This resulted in a time offset from UTC.

This correct implementation assumes UTC time, if no tzinfo object is attached to the datetime.
Further the offset is now taken from the tzinfo object.

miili added 2 commits July 16, 2020 14:11
datetime object were handled incorrectly. Now using
the native tzinfo object, if available.
@miili miili mentioned this pull request Jul 16, 2020
@gusutabopb gusutabopb force-pushed the master branch 2 times, most recently from 236e958 to b124183 Compare August 5, 2023 06:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant