def getDateFromLandsatInfo(info):
    '''Finds the date in a Landsat EE object'''
    # Landsat images do not have consistent header information so try multiple names here.
    if 'DATE_ACQUIRED' in info['properties']:
        return info['properties']['DATE_ACQUIRED']
    elif info['properties'] in 'ACQUISITION_DATE':
        return info['properties']['ACQUISITION_DATE']
    else:
        return None
dataset/ETHPy150Open nasa/CrisisMappingToolkit/cmt/util/miscUtilities.py/getDateFromLandsatInfo/swapped operands of `in`