File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import {
1414import { MetricOptionsState } from '../components/MetricAndPeriodOptions/types' ;
1515import {
1616 chartDataKey ,
17+ formatDate ,
1718 getAdvisorChartData ,
1819 getAdvisorsList ,
1920 translateChartKeys ,
@@ -454,8 +455,8 @@ const FeedbackPage: React.FC = () => {
454455 displaySearchBar = { false }
455456 displayTitle = { false }
456457 showStatus = { false }
457- delegatedEndDate = { currentConfigs ?. end ?? formatISO ( endOfDay ( new Date ( ) ) ) }
458- delegatedStartDate = { currentConfigs ?. start ?? formatISO ( startOfDay ( new Date ( ) ) ) }
458+ delegatedEndDate = { formatDate ( new Date ( currentConfigs ?. end ?? Date . now ( ) ) , 'yyyy-MM-dd' ) }
459+ delegatedStartDate = { formatDate ( new Date ( currentConfigs ?. start ?? Date . now ( ) ) , 'yyyy-MM-dd' ) }
459460 user = { useStore . getState ( ) . userInfo }
460461 userDomains = { useStore }
461462 />
You can’t perform that action at this time.
0 commit comments