I was wondering if there is any way to manipulate a date returned from an API inside the react-table component?
For example, the timestamp comes back from the API formatted as such 2019-08-31 06:27:14 ... What I would like it to look like is something like Monday 8th of August 2005 03:12:46 PM
I am using the react-table component to render the table and the column i would like to manipulate is the Signup Date column.
Any help would be greatly appreciated.
columns={[
{
Header: "ID",
accessor: "id",
show: false
},
{
Header: "Signup Date",
accessor: "signup_date"
}
]}
columnssection of the react-table to do it?Error: A column id is required if using a non-string accessor for column above.... It looks like it cant findd.signup_date... Is there any chance you could show me an example? Im kind of new to all this