I want to compare UTC timestamps from a log file with local timestamps. When creating the local datetime object, I use something like:
datetime
>>&
You may be happy with pendulum
>>> pendulum.datetime(2015, 2, 5, tz='local').timezone.name 'Israel'
Pendulum has a well designed API for manipulating dates. Everything is TZ-aware.