aboutsummaryrefslogtreecommitdiff
path: root/examples/node/bigDataSet.json
diff options
context:
space:
mode:
authorDaniel Perez Alvarez <[email protected]>2014-11-12 08:43:23 +0000
committerDaniel Perez Alvarez <[email protected]>2014-11-12 08:43:23 +0000
commitba482f10bed1a4e34cf1941bb5728d0a029822a4 (patch)
tree8ee41919fd2bad1348f95c64b2dd7a91e1617221 /examples/node/bigDataSet.json
parentc109b4873aa794965d37bda10dbacc51e2073bc8 (diff)
downloadfaker-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/bigDataSet.json')
0 files changed, 0 insertions, 0 deletions