Skip to content

Add 'parser' instead of deprecated 'format'#5769

Merged
simonbrunel merged 1 commit intochartjs:masterfrom
Niladri24dutta:patch-1
Oct 16, 2018
Merged

Add 'parser' instead of deprecated 'format'#5769
simonbrunel merged 1 commit intochartjs:masterfrom
Niladri24dutta:patch-1

Conversation

@Niladri24dutta
Copy link
Contributor

Fixes #5456

update line chart demo to replace deprecated 'format' property with the 'parser' property under the 'scales' option of chart.js configuration(as per moment.js documentation). This update removes the below warning while running the example -
options.time.format is deprecated and replaced by options.time.parser.

jsfiddle sample after using 'parser' : Demo

@Niladri24dutta
Copy link
Contributor Author

@benmccann Hi , Thanks for the approval , is there anything required from my end regarding this PR merge?

@simonbrunel simonbrunel added this to the Version 2.8 milestone Oct 16, 2018
@simonbrunel simonbrunel merged commit dfbb574 into chartjs:master Oct 16, 2018
@simonbrunel
Copy link
Member

Thanks @Niladri24dutta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants