Skip to content

Commit

Permalink
Switch back to null check
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Jan 16, 2019
1 parent cc79a16 commit 6a6c936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scales/scale.time.js
Expand Up @@ -194,7 +194,7 @@ function toTimestamp(input, options) {
: adapter.parse(value);
}

if (helpers.isFinite(value)) {
if (value !== null) {
return value;
}

Expand Down

0 comments on commit 6a6c936

Please sign in to comment.