elixirs / faker

Faker is a pure Elixir library for generating fake data.
MIT License
1.04k stars 214 forks source link

Faker.Date.date_of_birth() generates invalid dates when called on a leap date #540

Closed slapers closed 4 months ago

slapers commented 4 months ago

When calling date_of_birth/1 if uses the current date to generate a fake birthday in the future without holding account for leap years..

slapers commented 4 months ago

Oops... Just saw it was fixed in v0.18.0.. will update !

davenforce commented 4 months ago

Haha I was about to make this ticket, so don't feel bad.