Skip to content

Commit

Permalink
Fix typo in the lightFormat docs (closes #1439)
Browse files Browse the repository at this point in the history
  • Loading branch information
kossnocorp committed Sep 23, 2019
1 parent 304e412 commit d770865
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lightFormat/index.js
Expand Up @@ -71,7 +71,7 @@ var unescapedLatinCharacterRegExp = /[a-zA-Z]/
* @throws {RangeError} format string contains an unescaped latin alphabet character
*
* @example
* var result = format(new Date(2014, 1, 11), 'yyyy-MM-dd')
* var result = lightFormat(new Date(2014, 1, 11), 'yyyy-MM-dd')
* //=> '1987-02-11'
*/
export default function lightFormat(dirtyDate, dirtyFormatStr) {
Expand Down

0 comments on commit d770865

Please sign in to comment.