Skip to content

Commit

Permalink
Fix bug with schedule date error message
Browse files Browse the repository at this point in the history
  • Loading branch information
solomonng2001 committed Apr 4, 2024
1 parent 6baad71 commit 17154f7
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import seedu.address.commons.core.index.Index;
import seedu.address.commons.exceptions.IllegalValueException;
import seedu.address.commons.util.DateTimeUtil;
import seedu.address.commons.util.DateUtil;
import seedu.address.logic.commands.ScheduleCommand;
import seedu.address.logic.parser.exceptions.ParseException;
import seedu.address.model.person.Schedule;
Expand All @@ -20,7 +19,7 @@
* Parses input arguments and creates a new ScheduleCommand object
*/
public class ScheduleCommandParser {
public static final String DATE_MESSAGE_CONSTRAINTS = DateUtil.getMessageConstraintsForDateType("Schedule");
public static final String DATE_MESSAGE_CONSTRAINTS = DateTimeUtil.getMessageConstraintsForDateType("Schedule");

/**
* Parses the given {@code String} of arguments in the context of the ScheduleCommand
Expand Down

0 comments on commit 17154f7

Please sign in to comment.