message: fix(origin-ui-core): wrap table into utilsprovider
diff: -import React, { ReactNode, useState } from 'react';
  +import React, { ReactNode, useState, useContext } from 'react';
  import {
  SortPropertiesType,
  CurrentSortType,
  @@ -27,6 +27,9 @@ import {
  TableSortLabel,
  Box
  } from '@material-ui/core';
  +import MomentUtils from '@date-io/moment';
  +import { OriginConfigurationContext } from '../OriginConfigurationContext';
  +import { MuiPickersUtilsProvider } from '@material-ui/pickers';
  type TableOnSelectFunction = (id: string, selected: boolean) => void;
  @@ -83,6 +86,7 @@ interface IProps<T extends readonly ITableColumn[]> {
  export function TableMaterial<T extends readonly ITableColumn[]>(props: IProps<T>) {
  const [currentPage, setCurrentPage] = useState(1);
  const [selectedIds, setSelectedIds] = useState<string[]>([]);
  + const configuration = useContext(OriginConfigurationContext);
  async function loadPage(page: number, filters?: ICustomFilter[]) {
  await props.loadPage(page, filters);
  @@ -215,6 +219,7 @@ export function TableMaterial<T extends readonly ITableColumn[]>(props: IProps<T
  return (
  <>
  + <MuiPickersUtilsProvider utils={MomentUtils} locale={configuration.language}>
  <FiltersHeader filters={filters} filtersChanged={filtersChanged} />
  <ColumnBatchActions
  @@ -269,7 +274,9 @@ export function TableMaterial<T extends readonly ITableColumn[]>(props: IProps<T
  key={column.id}
  align={column.align}
  style={{ minWidth: column.minWidth }}
  - sortDirection={sortedByThisColumn ? order : undefined}
  + sortDirection={
  + sortedByThisColumn ? order : undefined
  + }
  >
  <TableSortLabel
  active={sortedByThisColumn}
  @@ -335,7 +342,9 @@ export function TableMaterial<T extends readonly ITableColumn[]>(props: IProps<T
  (() => handleRowClick(id))
  }
  className={
  - handleRowClick ? 'cursor-pointer' : ''
  + handleRowClick
  + ? 'cursor-pointer'
  + : ''
  }
  key={column.id}
  align={column.align}
  @@ -377,6 +386,7 @@ export function TableMaterial<T extends readonly ITableColumn[]>(props: IProps<T
  </Table>
  </div>
  </Paper>
  + </MuiPickersUtilsProvider>
  </>
  );
  }
  