Skip to content

Commit

Permalink
Merge pull request nus-cs2103-AY2122S1#77 from rohit0718/update/bugfi…
Browse files Browse the repository at this point in the history
…x-parseday

bugfix parseday in parserutil
  • Loading branch information
luminousleek authored Oct 13, 2021
2 parents c9c0c06 + 6a2d687 commit dab6e01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/seedu/address/logic/parser/ParserUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ public static Day parseDay(String dayString) throws ParseException {
if (!Day.isValidDay(trimmedDay)) {
throw new ParseException(Day.MESSAGE_CONSTRAINTS);
}
return Day.valueOf(trimmedDay);
return Day.valueOf(trimmedDay.toUpperCase());
}

/**
Expand Down

0 comments on commit dab6e01

Please sign in to comment.