def get_time_format(format='medium', locale=LC_TIME):
 return Locale.parse(locale).time_formats[format]

def get_time_format ( format = 'medium' , locale = LC_TIME ) : return Locale . parse ( locale ) . time_formats [ format ]
return the time formatting patterns used by the locale for the specified format .