diff options
| author | Daniel Perez Alvarez <[email protected]> | 2014-11-12 08:43:23 +0000 |
|---|---|---|
| committer | Daniel Perez Alvarez <[email protected]> | 2014-11-12 08:43:23 +0000 |
| commit | ba482f10bed1a4e34cf1941bb5728d0a029822a4 (patch) | |
| tree | 8ee41919fd2bad1348f95c64b2dd7a91e1617221 /examples/node/dataSet.json | |
| parent | c109b4873aa794965d37bda10dbacc51e2073bc8 (diff) | |
| download | faker-ba482f10bed1a4e34cf1941bb5728d0a029822a4.tar.xz faker-ba482f10bed1a4e34cf1941bb5728d0a029822a4.zip | |
Have past, future and recent return random dates
Functions `past` and `future` only returned dates EXACTLY N YEARS before
or after the reference date. Function `recent` only returned dates
EXACTLY N DAYS before the reference date.
For example, `faker.date.past(1)` would return either *Nov 12, 2014*, or
*Nov 12, 2013*, but nothing in-between.
Also, now you can call those functions without parameter, and N will
take the default value of `1`.
Diffstat (limited to 'examples/node/dataSet.json')
0 files changed, 0 insertions, 0 deletions
