def date_standardized(date_string):
    new_date_str = datetime.datetime.strptime(date_string, '%Y-%m-%d').strftime(settings.DATE_FORMAT)
    return new_date_str
Converts date from format %Y-%m-%d into proper DMS global date format
dataset/ETHPy150Open adlibre/Adlibre-DMS/adlibre_dms/libraries/adlibre/date_converter.py/date_standardized