Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: valid dummy dates #70

Open
lukethacoder opened this issue Aug 11, 2020 · 0 comments
Open

Feature: valid dummy dates #70

lukethacoder opened this issue Aug 11, 2020 · 0 comments

Comments

@lukethacoder
Copy link

Feature
Auto generate a dummy date, with the option to pass some config to constrict the date range.

Possible Implementation

<div data-dummy:date></div> <!-- random date in time -->
<div data-dummy:date="2000, 2010"></div> <!-- random date between years -->
<div data-dummy:date="2020-12-01, 2020-12-31"></div> <!-- random date dates -->
<div data-dummy:date="future"></div> <!-- random date in the future (or "past") -->

Not too sure if date formatting is worth exploring here too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant