Skip to content

Commit eb2819a

Browse files
authored
Merge pull request #248 from ssoonwee/branch-dg-update
[Song Soon Wee] Fix DG bugs
2 parents 0bb8344 + d7301a9 commit eb2819a

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

docs/DeveloperGuide.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ Classes used by multiple components are in the `seedu.address.commons` package.
185185
This section describes some noteworthy details on how certain features are implemented.
186186

187187
## Date Format
188-
DietLAH! uses the following date format for command inputs: `d Mmm yyyy` which is clearer to interpret and reduces the chances of typos. Refer to the table below for more information:
188+
DietLAH! uses the following date format for command inputs: `dd Mmm yyyy` which is clearer to interpret and reduces the chances of typos. Refer to the table below for more information:
189189

190190
Legend | Description
191191
-------|-------------
@@ -459,13 +459,13 @@ The following activity diagram summarizes what happens when a user executes a `f
459459
For the user's convenience, there are 3 scenarios for recording food intake.
460460

461461
1. Add `FoodIntake` for new `Food` not currently in the `UniqueFoodList`.<br/>
462-
Example: `food_intake_add d/dd MMM yyy n/FOOD_NAME c/CARBOS f/FATS p/PROTEINS`
462+
Example: `food_intake_add d/dd Mmm yyy n/FOOD_NAME c/CARBOS f/FATS p/PROTEINS`
463463

464464
2. Add `FoodIntake` using existing `Food` in the `UniqueFoodList` and update its nutrient values.<br/>
465-
Example: `food_intake_add d/dd MMM yyy n/FOOD_NAME p/PROTEINS <at least 1 nutrient value>`
465+
Example: `food_intake_add d/dd Mmm yyy n/FOOD_NAME p/PROTEINS <at least 1 nutrient value>`
466466

467467
3. Add `FoodIntake` using existing `Food` in the `UniqueFoodList` without updating its values.<br/>
468-
Example: `food_intake_add d/dd MMM yyy n/FOOD_NAME`
468+
Example: `food_intake_add d/dd Mmm yyy n/FOOD_NAME`
469469

470470
#### Implementation:
471471

@@ -505,7 +505,7 @@ The following activity diagram summarizes what happens when a user executes a `f
505505

506506
The user can delete food intakes already added to the application by providing the food name, and date of intake.
507507

508-
Example: `food_intake_delete d/dd MMM yyy n/FOOD_NAME`
508+
Example: `food_intake_delete d/dd Mmm yyy n/FOOD_NAME`
509509

510510
#### Implementation:
511511

@@ -523,7 +523,7 @@ The following activity diagram summarizes what happens when a user executes a `f
523523

524524
The user can update the nutrient values of previously recorded food intakes. At least 1 nutrient value must be provided to be updated and values not provided will remain unchanged.
525525

526-
Example: `food_intake_update d/dd MMM yyy n/FOOD_NAME p/PROTEINS <at least 1 nutrient value>`
526+
Example: `food_intake_update d/dd Mmm yyy n/FOOD_NAME p/PROTEINS <at least 1 nutrient value>`
527527

528528
#### Implementation:
529529

docs/diagrams/ModelClassDiagram.puml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ Package Model <<Rectangle>>{
88
Interface ReadOnlyDietLah <<Interface>>
99
Interface Model <<Interface>>
1010
Interface ObservableList <<Interface>>
11+
Interface ReadOnlyUserPrefs <<Interface>>
1112
Class DietLah
1213
Class Model
1314
Class ModelManager
1415
Class UserPrefs
15-
Class ReadOnlyUserPrefs
16+
1617

1718
Package Diet {
1819
Class DietPlan

docs/images/ModelClassDiagram.png

8.48 KB
Loading

0 commit comments

Comments
 (0)