call the function dateformat.format with 2 arguments: value and result of the function get_format called with 2 arguments:
return dateformat . format ( value , get_format ( format or 'DATE_FORMAT' , use_l10n = use_l10n ) )