Skip to content

Commit

Permalink
Fix parser (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
tysg committed Nov 11, 2019
1 parent c059b11 commit 6b7c149
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 @@ -41,7 +41,7 @@ public class ParserUtil {
public static final String MESSAGE_INVALID_INDEX = "Index is not a non-zero unsigned integer.";

public static final int MINUTES_IN_AN_HOUR = 60;
public static final String HHMM_REGEX = "([0-9]{2}):[0-5][0-9]";
public static final String HHMM_REGEX = "([0-9]?[0-9]):[0-5][0-9]";

public static final String MESSAGE_INVALID_DATE_FORMAT =
"Invalid Date format. Date format should be " + DATE_FORMAT + ".";
Expand Down

0 comments on commit 6b7c149

Please sign in to comment.