Fix UTC usage
Hello @Voyz
Thank you for ibind / ibeam. I was trying to use your library and calling ibind_logs_initialize() failed for me with:
now = datetime.datetime.now(datetime.UTC)
AttributeError: module 'datetime' has no attribute 'UTC'
I thought this might fix it so I applied the fix: https://stackoverflow.com/a/13624191
It fixed the issue for me but I am not used to committing to Python repos so you can guide me on whether this needs further work.
Best,
Hey @demircancelebi thanks for pointing this out and for your suggested fix 👍
I'm trying to debug this, what Python version are you running this on?
@demircancelebi just wanted to bring this PR back to your attention so that we could merge it
Fixed, I think it can be merged now
Many thanks for adjusting it, and for the contribution 👍