aboutsummaryrefslogtreecommitdiff
path: root/docs/guide/upgrading.md
diff options
context:
space:
mode:
authorST-DDT <[email protected]>2023-04-26 06:16:51 +0200
committerGitHub <[email protected]>2023-04-26 06:16:51 +0200
commit3fc7bf1b24ed67696b4824abcd9fa14af43cb66d (patch)
treeaeead10dc7e2ab4a31efd90fc4a5e342b8543f27 /docs/guide/upgrading.md
parent4d0458c96071917c8c3bb85fa61544caf8ff1763 (diff)
downloadfaker-3fc7bf1b24ed67696b4824abcd9fa14af43cb66d.tar.xz
faker-3fc7bf1b24ed67696b4824abcd9fa14af43cb66d.zip
feat(date): introduce anytime (#2096)
Diffstat (limited to 'docs/guide/upgrading.md')
-rw-r--r--docs/guide/upgrading.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/guide/upgrading.md b/docs/guide/upgrading.md
index a4bf7da1..03d1acb9 100644
--- a/docs/guide/upgrading.md
+++ b/docs/guide/upgrading.md
@@ -308,9 +308,9 @@ faker.number.float({ max: 100, precision: 0.01 }); // 35.21
The method `faker.datatype.array` has been deprecated and will be removed in v9.
If you need an array of useful values, you are better off creating your own one using `faker.helpers.multiple`.
-### `faker.datatype.datetime` deprecated in favor of `faker.date.between`
+### `faker.datatype.datetime` deprecated in favor of `faker.date.between` and `faker.date.anytime`
-The `datetime` method previously found in `faker.datatype` has been deprecated, use `faker.date.between` instead.
+The `datetime` method previously found in `faker.datatype` has been deprecated, use `faker.date.between` or `faker.date.anytime` instead.
### `allowLeadingZeros` behavior change in `faker.string.numeric`