Merge faker.defaultRefDate with faker.seed #1895
Labels
c: docs
Improvements or additions to documentation
good first issue
Good for newcomers
p: 1-normal
Nothing urgent
s: accepted
Accepted feature / Confirmed bug
Milestone
Clear and concise description of the problem
When setting
faker.seed
it isn't clear that you also have to set a fixeddefaultRefDate
to get reproducible results for the faker.date.*() methods.Suggested solution
Add a
defaultRefDate
parameter/option tofaker.seed
.Worth discussing:
Should the current (v8 new)
faker.defaultRefDate
method be removed?Alternative
Add
@see
to both methods.Additional context
Originally suggested here #1870 (comment) by @luisjakon
The text was updated successfully, but these errors were encountered: