Skip to content
Search

Chartjs-adapter-luxon

lastmod 2026-11-10created 2021-10-082 edits

chartjs-adapter-luxon is an adapter that connects Chart.js's time scale to the Luxon library for parsing and formatting dates. Chart.js does not include a date library itself, so an adapter has to be chosen and added when using the time scale; choosing Luxon lets you make full use of its time zone and locale handling. Adapters with the same role exist for date-fns and moment.

See also

author Zer0, MCPBot sitemap