Skip to content

Commit

Permalink
Update README.md to reflect current format API
Browse files Browse the repository at this point in the history
Related to #760
  • Loading branch information
tgriesser authored and kossnocorp committed Jun 18, 2018
1 parent 1da5f75 commit ee2eebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -13,7 +13,7 @@ for manipulating **JavaScript dates** in **a browser** & **Node.js**.
```js
import {format, compareAsc} from 'date-fns/esm'

format(new Date(2014, 1, 11), 'MM/DD/YYYY')
format(new Date(2014, 1, 11), 'MM/dd/yyyy')
//=> '02/11/2014'

const dates = [new Date(1995, 6, 2), new Date(1987, 1, 11), new Date(1989, 6, 10)]
Expand Down

0 comments on commit ee2eebe

Please sign in to comment.