import time


def make_month_julian(year, month):
    """Generate a list of Julian date integers within a given month.

    Args:
        year (int): 4-digit year
        month (int): integer month (1 = Jan, 2 = Feb, etc.)
    Returns:
        jdays (list): list of Julian dates
    """
    jdays = []
    for d in range(1, 32):
        try:
            dtuple = time.strptime("{} {} {}".format(year, month, d), "%Y %m %d")
            jday = int(time.strftime("%j", dtuple))
            jdays.append(jday)
        except ValueError:
            pass
    return jdays