use preset for date snippet and validator