Hello I got problem with parsing my date
.map((column) => {
return column.column.dataType === "DATE" ? (
<TableCell key={column.id} align={column.align}>
{format(
new Date(parseFloat(column.value)),
dateFormat,
new Date()
)}
{console.log(parseFloat(column.value))}
</TableCell>
heres the code where I format my date.
import DateFnsUtils from "@date-io/date-fns";
import { MuiPickersUtilsProvider } from "@material-ui/pickers";
return (
<Provider store={store}>
<MuiPickersUtilsProvider utils={DateFnsUtils}>
<ApplicationContainer />
</MuiPickersUtilsProvider>
</Provider>);
This is my App.js
still I get this error Format string contains an unescaped latin alphabet character g