add custom patterns for datetimepicker