Skip to content

Commit

Permalink
Merge pull request AY2324S2-CS2103T-T15-2#234 from Rikko1204/fix-bugs
Browse files Browse the repository at this point in the history
Fix text and date inconsistency for schedule command
  • Loading branch information
RingoftheKing authored Apr 9, 2024
2 parents cd43b44 + 02414f4 commit a44326f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class ScheduleCommand extends Command {

public static final String COMMAND_WORD = "schedule";

public static final String MESSAGE_USAGE = COMMAND_WORD + ": Schedule or remove a meeting with a student. \n"
public static final String MESSAGE_USAGE = COMMAND_WORD + ": Schedule or remove a meeting with a person. \n"

+ "Parameters: "
+ PREFIX_NUSID + "NUSID "
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/seedu/address/model/person/Schedule.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
public class Schedule {

public static final String MESSAGE_CONSTRAINTS =
"Schedule should contain only dates formatted as DD/MM/YYYY, DD-MM-YYYY, "
+ "DD.MM.YYYY, DD MMM YYYY, MMM DD, YYYY";
"Schedule should contain only dates formatted as \"DD/MM/YYYY\", \"DD-MM-YYYY\", "
+ "\"DD.MM.YYYY\", \"DD MMM YYYY\", \"MMM DD, YYYY\"";

public static final List<String> VALIDATION_REGEX_WITH_DATA = new ArrayList<>(
List.of(
Expand Down

0 comments on commit a44326f

Please sign in to comment.