Rewrited date picker