From b99bbb5ee6d4b8c311afb00eaaa67c193ca0c4ef Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Wed, 20 Apr 2022 08:22:09 +0200 Subject: docs: fix lost description texts (#836) --- src/time.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/time.ts') diff --git a/src/time.ts b/src/time.ts index 8eeaef42..c33638a7 100644 --- a/src/time.ts +++ b/src/time.ts @@ -10,13 +10,15 @@ export class Time { /** * Returns recent time. * - * @param format The format to use. Defaults to `'unix'`. + * @param format The format to use. * * - `'abbr'` Return a string with only the time. `Date.toLocaleTimeString`. * - `'date'` Return a date instance. * - `'wide'` Return a string with a long time. `Date.toTimeString()`. * - `'unix'` Returns a unix timestamp. * + * Defaults to `'unix'`. + * * @example * faker.time.recent() // 1643067231856 * faker.time.recent('abbr') // '12:34:07 AM' -- cgit v1.2.3