You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see we're using tzlocal() local from dateutil which is improved class over tzinfo from standard datetime. I will ask @rikerfi , do you know why we're using dateutil extra dependency over datetime? Timezones and time conversion are always black magic for me :) I'm asking you since it's used there:
timezone = tz.tzlocal() if self.timezone == "local" else pytz.timezone(self.timezone)
From what I see it's only usage is to get the local timezone, but this is available from the datetime directly.
See: https://stackoverflow.com/a/52606421/110451
Or am I missing something here?
The text was updated successfully, but these errors were encountered: