def scheduled_time(timestamp, is_local=False):
    """Specify a time for the delivery of this push.

    :param timestamp: A ``datetime.datetime`` object.
    :param is_local: A ``boolean`` object.

    """

    key = 'local_scheduled_time' if is_local else 'scheduled_time'  

    return {key: timestamp.strftime('%Y-%m-%dT%H:%M:%S')}
