Skip to content

Commit

Permalink
Correct lightFormat usage example (#1905)
Browse files Browse the repository at this point in the history
  • Loading branch information
nfantone committed Aug 27, 2020
1 parent bebc4a0 commit 482f05b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lightFormat/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ var unescapedLatinCharacterRegExp = /[a-zA-Z]/
*
* @example
* var result = lightFormat(new Date(2014, 1, 11), 'yyyy-MM-dd')
* //=> '1987-02-11'
* //=> '2014-02-11'
*/
export default function lightFormat(dirtyDate, dirtyFormatStr) {
requiredArgs(2, arguments)
Expand Down

0 comments on commit 482f05b

Please sign in to comment.