title: How to create custom time zone in python?
body: <p>I want to create a Eastern European Time zone use US daylight saving time rules.</p>
  <p>Here is what I have try:</p>
  <pre class="lang-py prettyprint-override"><code>from datetime import tzinfo, timedelta, datetime, timezone
  import pytz
  from backports.zoneinfo import ZoneInfo
  
  
  class eastern_eur(tzinfo):
      def utcoffset(self, dt: datetime):
          return timedelta(hours=2) + self.dst(dt)
      def dst(self, dt: datetime):
          dt = dt.astimezone(ZoneInfo(&quot;US/Eastern&quot;))
          return dt.dst()
  
  START = datetime(2018, 11, 2, tzinfo=timezone.utc).astimezone(eastern_eur())
  </code></pre>
  <p>Got RecursionError: maximum recursion depth exceeded while calling a Python object</p>
  <p>Is there any simpler way to achieve that without create a new class? Like is add offset to a ZoneInfo instance?</p>