News

Describe alternatives you've considered Timestamp.ToDatetime to take a tzinfo object (though ideally it should always be UTC). Problematic, because it requires first converting to timezone-aware UTC, ...
Learn how to work with date and time values using Python's datetime library, and how to avoid some of the gotchas and pitfalls of the datetime datatype.
Solution Brainstorm Update sentry to use datetime.datetime.now(datetime.UTC) instead of datetime.datetime.utcnow() as suggested. Some quick testing shows that for this to work on python < 3.11 would ...