Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update
DateTime
class and test_quote_constructor_retains_timezone
…
… method to handle timezone-aware datetime objects * **`stock_indicators/_cstypes/datetime.py`** - Update `DateTime` class to convert timezone-aware datetime objects to UTC - Update `to_pydatetime` function to retain timezone information when converting C# `System.DateTime` objects back to Python `datetime` objects * **`tests/common/test_cstype_conversion.py`** - Add `test_quote_constructor_retains_timezone` method to verify the retention of timezone information in the `Quote` constructor
- Loading branch information