Skip to content

Commit

Permalink
fix: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed Apr 18, 2020
1 parent 192f8c9 commit 7b2b82a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ const Company = compose(
const company = new Company();
company.name = "Acme Corporation";

// The `date` field can accept a Date object...
// The date field can accept a Date object...
company.createdOn = new Date();

// or an ISO 8601 formatted date/time string.
// ...or an ISO 8601 formatted date/time string.
company.createdOn = "2020-04-18T15:50:44.205Z";

// The following will throw the WithFieldsError error:
// The following will throw the WithFieldsError error.
company.createdOn = "2020-04-18";
```

Expand Down

0 comments on commit 7b2b82a

Please sign in to comment.