Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please resolve this issue: AttributeError: 'UTC' object has no attribute 'key' #81

Open
Anupa-123 opened this issue Mar 13, 2024 · 0 comments

Comments

@Anupa-123
Copy link

/usr/local/lib/python3.10/site-packages/exchange_calendars/calendar_helpers.py in parse_date(date, param_name, calendar, raise_oob)
377 ts = parse_timestamp(date, param_name, raise_oob=False, side="left", utc=False)
378
--> 379 if ts.tz is not None:
380 raise ValueError(
381 f"Parameter {param_name} received with timezone defined as '{ts.tz.key}'"

AttributeError: 'UTC' object has no attribute 'key'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant