First version of the patterns-date component