Specify fake date format
It'd be good to be able to specify date format in a way similar to jsynowiec/vscode-insertdatestring.
@chocoelho Hi carlos, interesting feature request. Will figure it out.
If you're taking suggestions I was thinking about this.
Add the following options:
- date.past.formatted
- date.recent.formatted
- date.future.formatted
Each would ask for additional input, a string pattern, and return the date formatted in that style.
This can be done by incorporating a library like date-format which already parses date patterns provided as strings.
nice suggestion @jwschram. 👍
I just found out that the lib doesn't support date formatting https://github.com/Marak/faker.js/issues/601