class_docstr: Display the time left.
class_docstr_tok: ["Display","the","time","left","."]
code: def format(
      self,
      progress_bar: ProgressBar,
      progress: ProgressBarCounter[object],
      width: int,
  ) -> AnyFormattedText:
      time_left = progress.time_left
      if time_left is not None:
          formatted_time_left = _format_timedelta(time_left)
      else:
          formatted_time_left = self.unknown
  
      return HTML(self.template).format(
          time_left=formatted_time_left.rjust(width)
      )
  
imports: from __future__ import annotations
  import datetime
  import time
  from abc import ABCMeta, abstractmethod
  from typing import TYPE_CHECKING
  from prompt_toolkit.formatted_text import HTML, AnyFormattedText, StyleAndTextTuples, to_formatted_text
  from prompt_toolkit.formatted_text.utils import fragment_list_width
  from prompt_toolkit.layout.dimension import AnyDimension, D
  from prompt_toolkit.layout.utils import explode_text_fragments
  from prompt_toolkit.utils import get_cwidth
label_desc: Use image node_id 1 for calling the TimeLeft obj's underlying member method code with example usage: obj.format(progress_bar, progress, width) and returns: HTML