chartjs-adapter-date-fns icon indicating copy to clipboard operation
chartjs-adapter-date-fns copied to clipboard

date-fns adapter for Chart.js

Results 17 chartjs-adapter-date-fns issues
Sort by recently updated
recently updated
newest added

In order to support npm aliases, please let us pass the Chart object to a register function of this plugin. This helps to use this plugin if the chart.js version...

Bumps [terser](https://github.com/terser/terser) from 5.7.0 to 5.14.2. Changelog Sourced from terser's changelog. v5.14.2 Security fix for RegExps that should not be evaluated (regexp DDOS) Source maps improvements (#1211) Performance improvements in...

dependencies

Can we please push out a new release of this package? I would like to install this package whilst using npm 8, but it doesn't let me install because `peerDependencies`...

Hi, This adapter doesn't allow to specify a timezone when parsing/formatting dates, since, unline Luxon, `date-fns` options don't support timezones. There is an official complementary library, [date-fns-tz](https://github.com/marnusw/date-fns-tz), that adds functions...

Hi, I updated our project our project dependecies to ``` chart.js@>=3.0.2, chart.js@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/chart.js/-/chart.js-3.0.2.tgz#5893b0548714445b5190cbda9ac307357a56a0c7" integrity sha512-DR0GmFSlxcFJp/w//ZmbxSduAkH/AqwxoiZxK97KHnWZf6gvsKWS3160WvNMMHYvzW9OXqGWjPjVh1Qu+xDabg== chartjs-adapter-date-fns@>=2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/chartjs-adapter-date-fns/-/chartjs-adapter-date-fns-2.0.0.tgz#5e53b2f660b993698f936f509c86dddf9ed44c6b" integrity sha512-rmZINGLe+9IiiEB0kb57vH3UugAtYw33anRiw5kS2Tu87agpetDDoouquycWc9pRsKtQo5j+vLsYHyr8etAvFw== ``` and have (testing) graph...

version: 2.0.0 Here is the relevant configuration snippet: ``` adapters: { date: { locale: nl, }, }, type: 'time', time: { unit: 'month', displayFormats: { month: 'dd MMM yy', },...

It appears [email protected] is no longer listed in peerDependencies, so when this is used in a project that has other things that depend on [email protected], it fails to load with...

This has the benefit of both correctly installing required packages for end-user, as a well as formalize which version of date-fns is supported or not.

i get this error whenever i add ``` ``` in my code ``` chart.min.js:13 Uncaught SyntaxError: Cannot use import statement outside a module (at chart.min.js:13:1) ```