mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-03-07 00:36:50 +01:00
fixed travis built
This commit is contained in:
@@ -295,7 +295,7 @@ module.exports = function(Chart) {
|
||||
},
|
||||
parseTime: function(label) {
|
||||
if (typeof this.options.time.parser === 'string') {
|
||||
return moment(label, this.options.time.parser)
|
||||
return moment(label, this.options.time.parser);
|
||||
}
|
||||
if (typeof this.options.time.parser === 'function') {
|
||||
return this.options.time.parser(label);
|
||||
|
||||
Reference in New Issue
Block a user