cesbit / aiowmi

Python WMI Queries
GNU General Public License v3.0
27 stars 8 forks source link

Preserve timezone offset when parsing datetime properties #8

Closed jan-guenter closed 2 years ago

jan-guenter commented 2 years ago

Description

For my use case I would highly prefer to have the timezone offset preserved in the resulting datetime objects when properties are parsed.

Type of change

This change could break code that does not handle the timezone offset of the datetime data type.

How Has This Been Tested?

Since there are no unit test, I only tested the code in my specific use case.

Checklist:

Disclaimer

I'm a python noob, so please elaborate on potential mistakes I made.

majurgens commented 2 years ago

I need this feature as well