aboutsummaryrefslogtreecommitdiff
path: root/src/date.ts
diff options
context:
space:
mode:
authorST-DDT <[email protected]>2022-02-20 18:51:48 +0100
committerGitHub <[email protected]>2022-02-20 18:51:48 +0100
commitb22cf3b809efab92f5933b9f6641e1959a4c8fcc (patch)
tree7e71f5f90121afc3c2420a561f7370d8213cf8c7 /src/date.ts
parentf7899fde7f8b70db47614168532d3c3606423661 (diff)
downloadfaker-b22cf3b809efab92f5933b9f6641e1959a4c8fcc.tar.xz
faker-b22cf3b809efab92f5933b9f6641e1959a4c8fcc.zip
docs: various fixes (#523)
Diffstat (limited to 'src/date.ts')
-rw-r--r--src/date.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/date.ts b/src/date.ts
index 97b54b73..a8b95bb8 100644
--- a/src/date.ts
+++ b/src/date.ts
@@ -99,7 +99,7 @@ export class _Date {
*
* @param from The early date boundary.
* @param to The late date boundary.
- * @param num The number of dates to generate. Defaults to 3.
+ * @param num The number of dates to generate. Defaults to `3`.
*
* @example
* faker.date.betweens('2020-01-01T00:00:00.000Z', '2030-01-01T00:00:00.000Z')
@@ -195,8 +195,8 @@ export class _Date {
* Returns a random name of a month.
*
* @param options The optional options to use.
- * @param options.abbr Whether to return an abbreviation. Defaults to false.
- * @param options.context Whether to return the name of a month in a context. Defaults to false.
+ * @param options.abbr Whether to return an abbreviation. Defaults to `false`.
+ * @param options.context Whether to return the name of a month in a context. Defaults to `false`.
*
* @example
* faker.date.month() // 'October'
@@ -228,8 +228,8 @@ export class _Date {
* Returns a random day of the week.
*
* @param options The optional options to use.
- * @param options.abbr Whether to return an abbreviation. Defaults to false.
- * @param options.context Whether to return the day of the week in a context. Defaults to false.
+ * @param options.abbr Whether to return an abbreviation. Defaults to `false`.
+ * @param options.context Whether to return the day of the week in a context. Defaults to `false`.
*
* @example
* faker.date.weekday() // 'Monday'