handling custom repeat date