]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Add 'parser' instead of deprecated 'format' in samples (#5769)
authorNiladri Dutta <nild2141@gmail.com>
Tue, 16 Oct 2018 21:12:51 +0000 (02:42 +0530)
committerSimon Brunel <simonbrunel@users.noreply.github.com>
Tue, 16 Oct 2018 21:12:51 +0000 (23:12 +0200)
samples/scales/time/line.html

index 70a6978af18a3065d95389eec6bba08b48e315ea..77c81b7aa1b30e1bece711977ebfe40070beaf58 100644 (file)
                                        xAxes: [{
                                                type: 'time',
                                                time: {
-                                                       format: timeFormat,
+                                                       parser: timeFormat,
                                                        // round: 'day'
                                                        tooltipFormat: 'll HH:mm'
                                                },