Value on a Date

Using value on a date is the proper way to format and output a date.

The date-fns lib will be used to format it. You should put a parameter to indicate how to format it:

will output April 14, 1980 in English.

On locale: here the date is implicitely created using a local timezone, and then output again using implicitely the local timezone.

See format with date-fns for plenty of options.

The date has to be a real standard JavaScript date, not a string. If you have a string parse it before, using new Date(string).