Skip to content

Commit

Permalink
BUG: undefined variable in timezone logic (#370)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-richards authored Mar 5, 2024
1 parent b114b93 commit 16db572
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyogrio/geopandas.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def _try_parse_datetime(ser):
try:
res = pd.to_datetime(ser, **datetime_kwargs)
except Exception:
pass
res = ser
# if object dtype, try parse as utc instead
if res.dtype == "object":
try:
Expand Down

0 comments on commit 16db572

Please sign in to comment.