src/sap.ui.core/src/sap/ui/core/Configuration.js
function() {
			function fallback(that) {
				var oLocale = that.oConfiguration.language;
				// if any user settings have been defined, add the private use subtag "sapufmt"
				if ( !jQuery.isEmptyObject(that.mSettings) ) {
					// TODO move to Locale/LocaleData
					var l = oLocale.toString();
					if ( l.indexOf("-x-") < 0 ) {
						l = l + "-x-sapufmt";
					} else if ( l.indexOf("-sapufmt") <= l.indexOf("-x-") ) {
						l = l + "-sapufmt";
					}
					oLocale = new Locale(l);
				}
				return oLocale;
			}
			return this.oConfiguration.formatLocale || fallback(this);
		}
function() {
			function fallback(that) {
				var oLocale = that.oConfiguration.language;
				// if any user settings have been defined, add the private use subtag "sapufmt"
				if ( !jQuery.isEmptyObject(that.mSettings) ) {
					// TODO move to Locale/LocaleData
					var l = oLocale.toString();
					if ( l.indexOf("-x-") < 0 ) {
						l = l + "-x-sapufmt";
					} else if ( l.indexOf("-sapufmt") <= l.indexOf("-x-") ) {
						l = l + "-sapufmt";
					}
					oLocale = new Locale(l);
				}
				return oLocale;
			}
			return this.oConfiguration.formatLocale || fallback(this);
		}
function ( ) { function fallback ( that ) { var oLocale = that . oConfiguration . language ; // if any user settings have been defined, add the private use subtag "sapufmt" if ( ! jQuery . isEmptyObject ( that . mSettings ) ) { // TODO move to Locale/LocaleData var l = oLocale . toString ( ) ; if ( l . indexOf ( "-x-" ) < 0 ) { l = l + "-x-sapufmt" ; } else if ( l . indexOf ( "-sapufmt" ) <= l . indexOf ( "-x-" ) ) { l = l + "-sapufmt" ; } oLocale = new Locale ( l ) ; } return oLocale ; } return this . oConfiguration . formatLocale || fallback ( this ) ; }
Returns the locale to be used for formatting.

If no such locale has been defined, this method falls back to the language,
see {@link sap.ui.core.Configuration#getLanguage Configuration.getLanguage()}.

If any user preferences for date, time or number formatting have been set,
and if no format locale has been specified, then a special private use subtag
is added to the locale, indicating to the framework that these user preferences
should be applied.

@return {sap.ui.core.Locale} the format locale
@public
Returns the locale to be used for formatting .