Faking a date range
Robvio opened this issue ยท 2 comments
Robvio commented
We're using and love graphql-faker, but we've run into an issue were we need to have dates between some range.
Faker.js seems to have this
faker.date.between('2015-01-01', '2015-12-31'); //returns "2015-04-03T20:10:12.819Z"
But I don't see it implemented here:
It seems to just be future or past. Am I misreading it?
This is a great project, thanks so much for doing it!
IvanGoncharov commented
@Robvio Thanks ๐
I want to add a few other small fixes into the next release.
So will try to release tomorrow.
IvanGoncharov commented
@Robvio Released as graphql-faker@2.0.0-rc.18
๐