code: def datetime_from_timestamp(timestamp, content):
      
      return set_date_tzinfo(
          datetime.fromtimestamp(timestamp),
          tz_name=content.settings.get('TIMEZONE', None))
docs: Helper function to add timezone information to datetime,
      so that datetime is comparable to other datetime objects in recent versions
      that now also have timezone information.