format date-time #3589
Answered
by
matthewmayer
yuf19-2022
asked this question in
Q&A
Replies: 1 comment
|
Faker date methods return standard JavaScript Date objects. So you can use any standard formatting techniques for Date eg https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat |
0 replies
Answer selected by
Shinigami92
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Faker date methods return standard JavaScript Date objects.
So you can use any standard formatting techniques for Date eg https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat