revamp date component (cont’d)