Added gregory with date input field