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

Ability to generate date with a specific format and add more attribute to person class #57

Open
cscoderr opened this issue May 8, 2022 · 2 comments

Comments

@cscoderr
Copy link

cscoderr commented May 8, 2022

I found this useful,

  • Ability to generate date with a specific format
  • Adding more attributes to a person which includes (Date of birth, Phone Number etc)
    Was using date and person to generate some data and i found out this is missing

Thanks for the great library.

@per-johansson-74
Copy link

per-johansson-74 commented May 23, 2022

DateFormat('yyyy-MM-dd HH:mm:ss').format(faker.date.dateTime(minYear: 2021, maxYear: 2022));

You could format your date like this using intl https://pub.dev/packages/intl

@cscoderr
Copy link
Author

Wow thats a great work around but i just think it should be there instead of going through the route of adding another library

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

2 participants