Skip to content

Commit c06e276

Browse files
authored
Update format-time.js documentation to match functionality (#632)
1 parent 47ffb45 commit c06e276

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/utils/format-time.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const isValidDate = require('./is-valid-date')
1818
* valid for `new Date()`.
1919
* @param {boolean|string} [translateTime=false] When `false`, the given `epoch`
2020
* will simply be returned. When `true`, the given `epoch` will be converted
21-
* to a string at UTC using the `DATE_FORMAT` constant. If `translateTime` is
21+
* to a string at UTC using the `DATE_FORMAT_SIMPLE` constant. If `translateTime` is
2222
* a string, the following rules are available:
2323
*
2424
* - `<format string>`: The string is a literal format string. This format

0 commit comments

Comments
 (0)