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

Edit inconsistency in schedule command in UG #237

Merged
merged 3 commits into from
Apr 10, 2024

Conversation

Rikko1204
Copy link

No description provided.

@Rikko1204
Copy link
Author

Rikko1204 commented Apr 10, 2024

closes #195
closes #185
closes #167
closes #224
closes #168

Copy link

@hjuntan hjuntan left a comment

Choose a reason for hiding this comment

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

Good fixes to these bugs!

> * Both `schedule` and `remark` must be either provided or not provided.
> * If `schedule` and `remark` are not provided, the schedule will be removed.

**Tip:** The `schedule` must be in one of the formats: `DD/MM/YYYY`, `DD-MM-YYYY`, `DD.MM.YYYY`, `MMM DD, YYYY`, `DD MMM YYYY`.
**Tip:** The `schedule` must be in one of the formats: `DD/MM/YYYY`, `DD-MM-YYYY`, `DD.MM.YYYY`, `MMM DD, YYYY`, `DD MMM YYYY`. Example of date formats include: `12-12-2024`, `12/12/2024`, `12.12.2024`, `Dec 12, 2024`, `12 Dec 2024`.
Copy link

Choose a reason for hiding this comment

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

Giving examples to MMM to address issue #175 when the user does not know the that MMM corresponds to the 3-letter abbreviation of the month .

@@ -244,21 +244,21 @@ Format: `group [id/NUSID] [g/GROUP] [t/TAG]`

Schedule a meeting with a person in the address book.

Format: `schedule id/NUSID [s/SCHEDULE] [r/REMARK]`
Format: `schedule id/NUSID [s/SCHEDULE r/REMARK]`
Copy link

Choose a reason for hiding this comment

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

Fix consistency that schedule and remark must be either both present or both absent.

@hjuntan
Copy link

hjuntan commented Apr 10, 2024

LGTM!

@hjuntan hjuntan merged commit f527484 into AY2324S2-CS2103T-T15-2:master Apr 10, 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.

2 participants