Convert a datetime object to UTC without using pytz
I wanted to convert a datetime object (from GitPython) to UTC without adding the dependency.
2 posts tagged “utc”.
I wanted to convert a datetime object (from GitPython) to UTC without adding the dependency.
I was getting the following warning for one of my Python test suites: I also saw a deprecation warning elsewhere for my usage of .