feat(custom-tooltip): custom tooltip on deck.gl charts (#34276)

This commit is contained in:
Richard Fogaca Nienkotter
2025-09-16 11:11:19 -03:00
committed by GitHub
parent bc6859a99d
commit a66737cb05
62 changed files with 4599 additions and 421 deletions

View File

@@ -76,7 +76,7 @@ export const HandlebarsViewer = ({
return <p>{t('Loading...')}</p>;
};
// usage: {{dateFormat my_date format="MMMM YYYY"}}
// usage: {{ dateFormat my_date format="MMMM YYYY" }}
Handlebars.registerHelper('dateFormat', function (context, block) {
const f = block.hash.format || 'YYYY-MM-DD';
return dayjs(context).format(f);