While testing Diary 3.1.0 on Moodle 3.3, I discovered that, hidefIf, is not supported below Moodle 3.4. So I added a check for the Moodle version and then to use, disabledIf, if needed in edit_form.php. Therefore, I bumped the Diary version to 3.1.1 and installed it here.