Skip to content

Commit 322ae21

Browse files
authored
Merge branch 'master' into bpenkov/date-editor-formatting
2 parents cc393da + c3087a2 commit 322ae21

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

projects/igniteui-angular/src/lib/date-range-picker/date-range-picker.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
<ng-template #defIcon>
1919
<igx-icon>
20-
calendar_today
20+
date_range
2121
</igx-icon>
2222
</ng-template>
2323

projects/igniteui-angular/src/lib/date-range-picker/date-range-picker.component.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import { IgxCalendarComponent } from '../calendar/public_api';
2525
// The number of milliseconds in one day
2626
const ONE_DAY = 1000 * 60 * 60 * 24;
2727
const DEBOUNCE_TIME = 16;
28-
const dEFAULT_ICON_TEXT = 'calendar_today';
28+
const DEFAULT_ICON_TEXT = 'date_range';
2929
const DEFAULT_FORMAT_OPTIONS = { day: '2-digit', month: '2-digit', year: 'numeric' };
3030
const CSS_CLASS_INPUT_GROUP = '.igx-input-group__bundle';
3131
const CSS_CLASS_INPUT = '.igx-input-group__input';
@@ -1168,7 +1168,7 @@ describe('IgxDateRangePicker', () => {
11681168
fixture.detectChanges();
11691169

11701170
const inputGroup = fixture.debugElement.query(By.css(CSS_CLASS_INPUT_GROUP));
1171-
expect(inputGroup.children[0].nativeElement.innerText).toBe(dEFAULT_ICON_TEXT);
1171+
expect(inputGroup.children[0].nativeElement.innerText).toBe(DEFAULT_ICON_TEXT);
11721172
expect(inputGroup.children[0].children[0].classes[CSS_CLASS_ICON]).toBeTruthy();
11731173
});
11741174

@@ -1189,7 +1189,7 @@ describe('IgxDateRangePicker', () => {
11891189
expect(suffixSingleRangeInput.children[1].children[0].classes[CSS_CLASS_ICON]).toBeTruthy();
11901190

11911191
const addPrefixSingleRangeInput = inputGroups[2];
1192-
expect(addPrefixSingleRangeInput.children[0].nativeElement.innerText).toBe(dEFAULT_ICON_TEXT);
1192+
expect(addPrefixSingleRangeInput.children[0].nativeElement.innerText).toBe(DEFAULT_ICON_TEXT);
11931193
expect(addPrefixSingleRangeInput.children[0].children[0].classes[CSS_CLASS_ICON]).toBeTruthy();
11941194
expect(addPrefixSingleRangeInput.children[1].nativeElement.innerText).toBe(additionalIconText);
11951195
expect(addPrefixSingleRangeInput.children[1].children[0].classes[CSS_CLASS_ICON]).toBeTruthy();

0 commit comments

Comments
 (0)