Skip to content

Commit

Permalink
Update recipes.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
barseghyanartur authored Dec 16, 2023
1 parent 96c300d commit 2350969
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/recipes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -265,13 +265,13 @@ Returns a random IPv4 address.
----

**date_between**
**date*
Generates a random date between ``start_date`` and ``end_date``.

.. code-block:: python
FAKER.date_between(start_date="-1d", end_date="+1d")
FAKER.date(start_date="-1d", end_date="+1d")
Arguments:

Expand All @@ -281,13 +281,13 @@ Arguments:

----

**date_time_between**
**date_time**

Generates a random datetime between ``start_date`` and ``end_date``.

.. code-block:: python
FAKER.date_time_between(start_date="-1d", end_date="+1d")
FAKER.date_time(start_date="-1d", end_date="+1d")
Arguments:

Expand Down

0 comments on commit 2350969

Please sign in to comment.