Browse Source

Update c3.js and c3.min.js

pull/1177/merge
Masayuki Tanaka 10 years ago
parent
commit
a62d8da1de
  1. 2
      c3.js
  2. 2
      c3.min.js

2
c3.js

@ -1037,7 +1037,7 @@
parsedDate = date; parsedDate = date;
} else if (typeof date === 'string') { } else if (typeof date === 'string') {
parsedDate = $$.dataTimeFormat($$.config.data_xFormat).parse(date); parsedDate = $$.dataTimeFormat($$.config.data_xFormat).parse(date);
} else if (typeof date === 'number' || !isNaN(date)) { } else if (typeof date === 'number' && !isNaN(date)) {
parsedDate = new Date(+date); parsedDate = new Date(+date);
} }
if (!parsedDate || isNaN(+parsedDate)) { if (!parsedDate || isNaN(+parsedDate)) {

2
c3.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save