Skip to content

Commit

Permalink
Merge pull request #241 from whitesnowx/236-updateavailabilityerrorme…
Browse files Browse the repository at this point in the history
…ssage

Update availability help message
  • Loading branch information
iynixil authored Apr 12, 2024
2 parents f566a2e + 0df6842 commit 51819e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class Availability {


public static final String MESSAGE_CONSTRAINTS = "[DAY_OF_THE_WEEK] [START_TIME] [END_TIME] E.g. mon 09:00 13:00\n"
+ "[DAY_OF_THE_WEEK] Should be a week of the day, the full word or the first syllable of the word\n"
+ "[DAY_OF_THE_WEEK] Should be a day of the week, the full word or the first syllable of the word\n"
+ "[START_TIME], [END_TIME] Using a 24H digital time format HH:mm\n";
public static final String VALIDATION_REGEX_DAY = "(?i)((mon|tue(s)?|wed(nes)?|thu(r)?(rs)?|fri|sat(ur)?|sun)"
+ "(day)?)";
Expand Down

0 comments on commit 51819e2

Please sign in to comment.