From a06a569c2579b470ef460aeceffa0fadd8a539d9 Mon Sep 17 00:00:00 2001 From: Jie Xiang Date: Thu, 2 Nov 2023 00:46:21 +0800 Subject: [PATCH] Clarify meeting time constraint message --- src/main/java/seedu/address/model/person/MeetingTime.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/seedu/address/model/person/MeetingTime.java b/src/main/java/seedu/address/model/person/MeetingTime.java index 5857861d9c6..2ccb8f8724d 100644 --- a/src/main/java/seedu/address/model/person/MeetingTime.java +++ b/src/main/java/seedu/address/model/person/MeetingTime.java @@ -13,7 +13,8 @@ public class MeetingTime { // Replace uuuu in format to yyyy to not confuse users public static final String MESSAGE_CONSTRAINTS = "Meeting time should be in the format of " - + DATE_TIME_FORMAT.replace("u", "y"); + + DATE_TIME_FORMAT.replace("u", "y") + + " and have a valid date and time"; public final LocalDateTime value;