File tree Expand file tree Collapse file tree
packages/devextreme/js/__internal/core/localization/intl Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import accountingFormats from '@ts/core/localization/cldr-data/accounting_format
33import localizationCoreUtils from '@ts/core/localization/core' ;
44import type { FormatConfig as BaseFormatConfig , LocalizationFormat } from '@ts/core/localization/number' ;
55import openXmlCurrencyFormat from '@ts/core/localization/open_xml_currency_format' ;
6+ import { getGlobalFormatByDataType } from '@ts/core/m_global_format_config' ;
67
78interface CurrencySymbolInfo {
89 position : 'before' | 'after' ;
@@ -106,6 +107,13 @@ export default {
106107 return value ;
107108 }
108109
110+ const globalNumberFormat = getGlobalFormatByDataType ( 'number' ) ;
111+
112+ if ( ! format && globalNumberFormat ) {
113+ // eslint-disable-next-line no-param-reassign
114+ format = globalNumberFormat as LocalizationFormat ;
115+ }
116+
109117 // eslint-disable-next-line no-param-reassign
110118 format = this . _normalizeFormat ( format ) as FormatConfig ;
111119
You can’t perform that action at this time.
0 commit comments