import pytz


def utc_datetime_to_button_format(utc_dt):
    """
    Convert a UTC datetime obj to the the date and time
    format we need for slack buttons in Eastern time.
    """
    eastern = pytz.timezone('US/Eastern')
    east_conv = utc_dt.astimezone(eastern)

    time_text = east_conv.strftime("%H:%M")
    date_text = east_conv.strftime("%m/%d")

    return date_text, time_text