date config improved