Skip to content

Commit

Permalink
Attempt to fix toISOString is not a function
Browse files Browse the repository at this point in the history
Related to #315.
  • Loading branch information
zalmoxisus committed May 4, 2017
1 parent 8750d02 commit 8509d01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function tryCatchStringify(obj) {
/* eslint-disable no-console */
if (process.env.NODE_ENV !== 'production') console.log('Failed to stringify', err);
/* eslint-enable no-console */
return jsan.stringify(obj, null, null, { circular: '[CIRCULAR]' });
return jsan.stringify(obj, null, null, { circular: '[CIRCULAR]', date: true });
}
}

Expand Down

0 comments on commit 8509d01

Please sign in to comment.