faker
faker copied to clipboard
Ability to generate date with a specific format and add more attribute to person class
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.
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
Wow thats a great work around but i just think it should be there instead of going through the route of adding another library