negmas.helpers.humanize_time(secs, align=False, always_show_all_units=False)[source]

Prints time that is given as seconds in human readable form. Useful only for times >=1sec.

  • secs – float: number of seconds

  • align (bool) – bool, optional: whether to align outputs so that they all take the same size (not implemented)

  • always_show_all_units (bool) – bool, optional: Whether to always show days, hours, and minutes even when they are zeros. default False


str: formated string with the humanized form