From d7708650a2282011d615286c4118bb75a34e9de9 Mon Sep 17 00:00:00 2001 From: Sasha Koss Date: Mon, 23 Sep 2019 10:37:41 +0300 Subject: [PATCH] Fix typo in the lightFormat docs (closes #1439) --- src/lightFormat/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lightFormat/index.js b/src/lightFormat/index.js index 0c3f64dde8..dbd1b9f338 100644 --- a/src/lightFormat/index.js +++ b/src/lightFormat/index.js @@ -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) {