Skip to content

Commit

Permalink
ACS-6189 Reverted unwanted changes
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksanderSklorz committed Oct 25, 2023
1 parent 4d9427c commit 45fa6c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ describe('DateRangeWidgetComponent', () => {

widget.onGroupValueChanged();

expect(emitted.startDate).toBe('13/03/2023T00:00:00.000Z');
expect(emitted.endDate).toBe('14/04/2023T00:00:00.000Z');
expect(emitted.startDate).toBe('2023-03-13T00:00:00.000Z');
expect(emitted.endDate).toBe('2023-04-14T00:00:00.000Z');
});

it('should validate date range', async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { DateAdapter, MAT_DATE_FORMATS } from '@angular/material/core';
import { ReportParameterDetailsModel } from '../../../../diagram/models/report/report-parameter-details.model';
import { isAfter } from 'date-fns';

const FORMAT_DATE_ACTIVITI = 'dd-MM-yyyy';
const FORMAT_DATE_ACTIVITI = 'yyyy-MM-dd';
const DISPLAY_FORMAT = 'dd/MM/yyyy';

interface DateRangeProps {
Expand Down

0 comments on commit 45fa6c1

Please sign in to comment.