diff --git a/docs/UserGuide.md b/docs/UserGuide.md index 68e44089097..9b521f4d71a 100644 --- a/docs/UserGuide.md +++ b/docs/UserGuide.md @@ -661,6 +661,7 @@ Using this function, you can add a task to an internship so that you won't forge **Format:** `addtask INDEX /task TASK` +- `INDEX` is the internship index you want to add the task to. - `TASK` is the task you want to add to the internship.
@@ -694,7 +695,8 @@ Using this function, you can set the deadline to a task under an internship so t **Format:** `setdeadline INDEX /selecttask INDEX /deadline DEADLINE` - The two `INDEX` denote the internship index and task index respectively. -- `DEADLINE` is the deadline you want to set for the task. It must be in the format `DD/MM/YYYY`, and a valid date. +- `DEADLINE` is the deadline you want to set for the task. It must be in the format `DD/MM/YYYY`. The day, month and year fields must be valid +(day must be between 1 and 31 inclusive, month must be between 1 and 12 inclusive, year must be a valid 4 digit number)
@@ -816,8 +818,8 @@ Only do so if you are an experienced user!
1. **When using multiple screens**, if you move the application to a secondary screen, and later switch to using only the primary screen, the GUI will open off-screen.
**The solution** is to delete the `preferences.json` file from the folder where you installed the application. Then, run the application again. -2. When using the `add` command, the `/phone` parameter allows for more digits that are necessary.
-**The solution** is to manually ensure that the length of the phone numbers you input are correct. +2. The deadline field accepts potentially invalid dates as long as the day, month and year are individually valid, including past dates. + [Go to Table of Contents](#table-of-contents) @@ -838,6 +840,6 @@ Only do so if you are an experienced user!
| `/role` | Role for the Internship | Any text, numbers, or spaces | | `/remark` | Remark for the Internship | Any text, numbers, or spaces | | `/task` | Task for the Internship | Any text, numbers, or spaces | -| `/deadline`| Deadline for the Task | Valid format: `DD/MM/YYYY`
- The date must be a valid date. | +| `/deadline`| Deadline for the Task | Valid format: `DD/MM/YYYY`
- The day, month and year fields must be valid. | [Go to Table of Contents](#table-of-contents)