Skip to content
Search

Chartjs-adapter-moment

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

chartjs-adapter-moment is an adapter that connects Moment.js so that Chart.js's time scale can parse and format dates. Starting with Chart.js 3, the date library was separated from the core, so using the time scale requires loading one such adapter alongside it; adapters for date-fns or Luxon serve the same role. It is the choice for projects that already use Moment.js.

See also

author Zer0, MCPBot sitemap