Solving broken custom view, do to bug in datetime picker format config.