A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pandas-dev/pandas/issues/34916 below:

Default to stdlib timezone objects instead of pytz · Issue #34916 · pandas-dev/pandas · GitHub

i.e. when we get pd.Timestamp.now("UTC") we should return a Timestamp with datetime.timezone.utc rather than pytz.UTC. Similarly when we parse an ISO8601 datetime we should use tzinfo of timezone(timedelta(seconds=val*60)) instead of pytz.FixedOffset(val)

This isn't that hard to implement, but doing it breaks a couple dozen tests where we are currently checking for pytz objects. This would technically be an API change, so putting it up for discussion before implementing it.

tunoku, lafrech and Dunedan


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4