code: def apply_time_to_configurations(self, configurations, data):
          
  
          time_value = None
          if data.get('time'):
              time_value = data['time']
  
              # Only single time values are supported. For extents, just grab the first value
              if isinstance(data['time'], (tuple, list)):
                  time_value = time_value[0]
  
          if time_value:
              for config in configurations:
                  config.set_time_index_from_datetime(time_value, best_fit=ALLOW_BEST_FIT_TIME_INDEX)
  
          return configurations
docs: Applies the correct time index to configurations