apps/web: fix getCurrentISODate in hooks/init

This commit is contained in:
vchikalkin 2024-02-17 17:09:37 +03:00
parent 49715531d9
commit d7ba323355
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
/* eslint-disable canonical/sort-keys */
import * as CRMTypes from '@/graphql/crm.types';
import { useStore } from '@/stores/hooks';
import { getCurrentISODate } from '@/utils/date';
import { normalizeOptions } from '@/utils/entity';
import { useApolloClient } from '@apollo/client';
import { useEffect } from 'react';

View File

@ -4,7 +4,7 @@ import utc from 'dayjs/plugin/utc';
dayjs.extend(utc);
function _currentDate() {
return dayjs().utc(false).hour(0).minute(0).second(0).millisecond(0);
return dayjs().utc(false).hour(5).minute(0).second(0).millisecond(0);
}
export function getCurrentISODate() {