A configuration that enables overriding of date and time formatting
Optional
format?: stringThe format the date should be in. This is a framework agnostic format, and should be based on your format function. NOTE: If a formatFunction is not provided, this is completely ignored. For dates YYYY-MM-DD is the default and for Datetimes it is ISOString()
Optional
formatFunction?: (date: Date, format?: string) => stringA function that can format the date into a string. Can use date-fns, moment, or any other function.
A property for Date AND Times. Supports both strings and Date Objects.