Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a bug in Meeting class #221

Merged
merged 4 commits into from
Apr 15, 2024

Conversation

jimseah-0116
Copy link
Collaborator

@jimseah-0116 jimseah-0116 commented Apr 15, 2024

Fixed a bug that allows 24:00 as a valid time (interpreted as 00:00 on the next date)

Justification: This is allowed as, per v1.3 app, when users add a duplicate meeting, the app shows: "This meeting already exists in the address book."
As our app specifies that meetings must be unique, users may wonder why having both "2024-05-10 24:00" and "2024-05-11 00:00" is not allowed. This fix ensures that meetings are unique in InsureBook.

@jimseah-0116 jimseah-0116 added this to the v1.4 milestone Apr 15, 2024
Copy link
Collaborator

@youdonnnn youdonnnn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! thanks for adding that in the DG

Copy link
Collaborator

@Greg-Tan Greg-Tan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Greg-Tan Greg-Tan merged commit 04fc177 into AY2324S2-CS2103T-W09-4:master Apr 15, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants