Photophysical study and theoretical calculations of an ionic liquid crystal bearing oxadiazole