code: def get_time_attr_map(t):
      
      now = datetime.datetime.now()
      if t + datetime.timedelta(hours=3) > now:
          return get_map("main_list_white")
      if t + datetime.timedelta(days=3) > now:
          return get_map("main_list_lg")
      else:
          return get_map("main_list_dg")
docs: now -> |
                              hour ago -> |
          day ago -> |
      |--------------|--------------------|---------------------|