
    Write a function to convert student attendance dates from the school's database format (yyyy-mm-dd) to the standardized reporting format (dd-mm-yyyy) required for parent communications and district attendance records. The function should handle any valid academic calendar date and maintain consistent formatting for all attendance tracking purposes.
    

    
import re

def change_date_format(dt):
    """
    Write a function to convert student attendance dates from the school's database format (yyyy-mm-dd) to the standardized reporting format (dd-mm-yyyy) required for parent communications and district attendance records. The function should handle any valid academic calendar date and maintain consistent formatting for all attendance tracking purposes.
    

    """
import re

def change_date_format(dt):
    """
    Write a function to convert student attendance dates from the school's database format (yyyy-mm-dd) to the standardized reporting format (dd-mm-yyyy) required for parent communications and district attendance records. The function should handle any valid academic calendar date and maintain consistent formatting for all attendance tracking purposes.
    

    """
    return re.sub('(\\d{4})-(\\d{1,2})-(\\d{1,2})', '\\3-\\2-\\1', dt)