Signature of wave localization in the time dependence of a reflected pulse