Skip to content

Commit eee4a2e

Browse files
MKirovaMayaKirova
authored andcommitted
chore(*): Remove deprecated date formats.
1 parent 0496f48 commit eee4a2e

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

projects/igniteui-angular/grids/core/src/services/exporter-common/base-export-service.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { ExportUtilities } from './export-utilities';
33
import { IgxExporterOptionsBase } from './exporter-options-base';
44
import { yieldingLoop } from './yielding-loop';
55
import { type ITreeGridRecord, type ColumnType, type GridTypeBase, type IPathSegment, type IgxSummaryResult, type GridColumnDataType, DataUtil, FilterUtil, GridSummaryCalculationMode, IBaseEventArgs, IFilteringState, IGroupByExpandState, IGroupByRecord, IGroupingState, TreeGridFilteringStrategy, cloneArray, cloneValue, columnFieldPath, resolveNestedPath, getHierarchy, isHierarchyMatch, BaseFormatter } from 'igniteui-angular/core';
6-
import { FormatWidth, getLocaleDateFormat, getLocaleDateTimeFormat } from '@angular/common';
76

87
export enum ExportRecordType {
98
GroupedRecord = 'GroupedRecord',
@@ -1166,14 +1165,6 @@ export abstract class IgxBaseExporter {
11661165
: '1.0-2';
11671166
}
11681167

1169-
if (column.dataType === 'date') {
1170-
columnInfo.dateFormat = getLocaleDateFormat(this.locale, FormatWidth.Medium);
1171-
}
1172-
1173-
if (column.dataType === 'dateTime') {
1174-
columnInfo.dateFormat = getLocaleDateTimeFormat(this.locale, FormatWidth.Medium);
1175-
}
1176-
11771168
if (this.options.ignoreColumnsOrder) {
11781169
if (columnInfo.startIndex !== columnInfo.pinnedIndex) {
11791170
columnInfo.pinnedIndex = Number.MAX_VALUE;

0 commit comments

Comments
 (0)