from dateutil import tz
from datetime import datetime


def convert_datetime_string_to_object(datetime_string):
    """
    Helper function to convert datetime string to object with local timezone
    """
    local_tz = tz.tzlocal()
    datetime_object = datetime.strptime(datetime_string, '%Y-%m-%d %H:%M:%S')
    return datetime_object.replace(tzinfo=local_tz, microsecond=0).isoformat()