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