Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

These should be auto-generated from the repository, just like CLI plugins are.

Module

Fabricator

Description

Parameters

Notes

date

between

Random date between two supplied dates

from date default is empty

to date default is empty

If either parameter is empty the function generates an error message.

date

future

Generates a random future date X years from Y date, where X and Y are parameters.

years number default is 1

refDate date default is today

date

month

A random month name

abbr boolean default is false

context boolean default is false

date

past

Generates a random past date X years from Y date, where X and Y are parameters.

years number default is 1

refDate date default is today

date

recent

Generates a random past date a specified number of days from the current date.

days number default is 1

date

weekday

A random weekday name

abbr boolean default is true

context boolean default is rue

  • No labels