code: def str_to_time(time_str: str) -> datetime.datetime:
      
      pieces: Any = [int(piece) for piece in time_str.split('-')]
      return datetime.datetime(*pieces)
docs: Convert human readable string to datetime.datetime.