Files
discord-decomp/sources/by-id/module-01284.jsx
T
2026-07-27 16:20:00 +03:00

23 lines
1.5 KiB
React

/* Metro module 1284; source: unknown; dependencies: [] */
function _fun14124(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#14124, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1411:6, offset: 0x00dfb63f, size: 291 bytes, params: 8, frame: 16
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
exports.DEFAULT_FORMAT_CONFIG = undefined;
exports.resolveFormatConfigOptions = function(a0, a1) {
if (typeof a1?.format === 'string') {
return global.Object.assign(global.Object.assign({}, a0[a1.format]), a1);
}
return a1;
};
exports.DEFAULT_FORMAT_CONFIG = {duration: {}, list: {}, relativeTime: {},
number: {integer: {maximumFractionDigits: 0}, currency: {style: 'currency'}, percent: {style: 'percent'}},
date: {short: {'month': 'numeric', 'day': 'numeric', 'year': '2-digit'}, medium: {'month': 'short',
'day': 'numeric', 'year': 'numeric'}, long: {'month': 'long', 'day': 'numeric', 'year': 'numeric'},
full: {'weekday': 'long', 'month': 'long', 'day': 'numeric', 'year': 'numeric'}},
time: {short: {'hour': 'numeric', 'minute': 'numeric'}, medium: {'hour': 'numeric', 'minute': 'numeric',
'second': 'numeric'}, long: {'hour': 'numeric', 'minute': 'numeric', 'second': 'numeric',
'timeZoneName': 'short'}, full: {'hour': 'numeric', 'minute': 'numeric', 'second': 'numeric',
'timeZoneName': 'short'}}};
}