//#region src/internal/charts/metricHistoryChartHelpers.ts
function e(e, t) {
	let n = new Intl.NumberFormat(void 0, { maximumFractionDigits: 2 }).format(e);
	return t == null || t.length === 0 ? n : `${n} ${t}`;
}
function t(e) {
	let t = new Date(e);
	return Number.isNaN(t.getTime()) ? e : t.toLocaleString(void 0, {
		month: "short",
		day: "2-digit",
		hour: "2-digit",
		minute: "2-digit"
	});
}
function n(e) {
	return e.toLocaleTimeString(void 0, {
		hour: "2-digit",
		minute: "2-digit"
	});
}
//#endregion
export { n as formatAxisTimestamp, t as formatDefaultTimestamp, e as formatDefaultValue };

//# sourceMappingURL=metricHistoryChartHelpers.js.map