Follow-up high fixes on date refactor (#15553)
This PR fixes important bugs on date filter handling following-up date refactor. Fixes : https://github.com/twentyhq/core-team-issues/issues/1814
This commit is contained in:
+1
-5
@@ -8,10 +8,7 @@ import {
|
||||
subWeeks,
|
||||
subYears,
|
||||
} from 'date-fns';
|
||||
import {
|
||||
getPlainDateFromDate,
|
||||
type RelativeDateFilter,
|
||||
} from 'twenty-shared/utils';
|
||||
import { type RelativeDateFilter } from 'twenty-shared/utils';
|
||||
|
||||
import {
|
||||
evaluateRelativeDateFilter,
|
||||
@@ -472,7 +469,6 @@ describe('Relative Date Filter Utils', () => {
|
||||
direction: 'THIS',
|
||||
unit: 'WEEK',
|
||||
firstDayOfTheWeek: 'MONDAY',
|
||||
referenceDayAsString: getPlainDateFromDate(now),
|
||||
};
|
||||
|
||||
expect(
|
||||
|
||||
Reference in New Issue
Block a user