add directive (date editor) & filter (date view)