def reporting_date(submission):
    """Format submission reporting date"""
    if not (submission.reporting_start_date or submission.reporting_end_date):
        return None
    if submission.is_quarter_format:
        return 'Q{}/{}'.format(submission.reporting_fiscal_period // 3,
                               submission.reporting_fiscal_year)
    else:
        return submission.reporting_start_date.strftime("%m/%Y")