Index: src/date.js |
diff --git a/src/date.js b/src/date.js |
index 118c8a69c914ff148e7c58a4ab0992b3e2012cd1..56a72f0db1396ca13dff1b2dfe0d3ea024a14b70 100644 |
--- a/src/date.js |
+++ b/src/date.js |
@@ -775,7 +775,7 @@ function DateToISOString() { |
function DateToJSON(key) { |
- var o = $toObject(this); |
+ var o = TO_OBJECT(this); |
var tv = $defaultNumber(o); |
if (IS_NUMBER(tv) && !NUMBER_IS_FINITE(tv)) { |
return null; |