Skip to content

Commit 4bf159c

Browse files
ncknelsonyuanx749
andauthored
Update pandas/_libs/tslibs/timestamps.pyx
Co-authored-by: Xiao Yuan <[email protected]>
1 parent dd65104 commit 4bf159c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/_libs/tslibs/timestamps.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2229,7 +2229,7 @@ class Timestamp(_Timestamp):
22292229
--------
22302230
>>> ts = pd.Timestamp("2023-01-01 12:00:00", tz="UTC")
22312231
>>> ts.tzinfo
2232-
UTC
2232+
datetime.timezone.utc
22332233

22342234
>>> ts_naive = pd.Timestamp("2023-01-01 12:00:00")
22352235
>>> ts_naive.tzinfo

0 commit comments

Comments
 (0)