Erecting time telescope for photonic quantum networks