chore: Moves date utils to utils folder (#20192)

This commit is contained in:
Michael S. Molina
2022-05-31 12:21:58 -03:00
committed by GitHub
parent ad72ea53a1
commit 834dcef993
18 changed files with 21 additions and 97 deletions

View File

@@ -27,7 +27,7 @@ import {
epochTimeXHoursAgo,
epochTimeXDaysAgo,
epochTimeXYearsAgo,
} from 'src/modules/dates';
} from 'src/utils/dates';
import AsyncSelect from 'src/components/AsyncSelect';
import { Query } from 'src/SqlLab/types';
import { STATUS_OPTIONS, TIME_OPTIONS } from 'src/SqlLab/constants';

View File

@@ -25,7 +25,7 @@ import { t, useTheme } from '@superset-ui/core';
import { useSelector } from 'react-redux';
import TableView from 'src/components/TableView';
import Button from 'src/components/Button';
import { fDuration } from 'src/modules/dates';
import { fDuration } from 'src/utils/dates';
import Icons from 'src/components/Icons';
import { Tooltip } from 'src/components/Tooltip';
import { Query, RootState } from 'src/SqlLab/types';