code: def beautify_time(inasafe_time, feature, parent):
      
      _ = feature, parent  # NOQA
      datetime_object = parse(inasafe_time)
      time = datetime_object.strftime('%H:%M')
      return time
docs: Given an InaSAFE analysis time, it will convert it to a time with
      hour:minute format.
  
      For instance:
      *   beautify_date( @start_datetime ) -> will convert datetime provided by
          qgis_variable.