yves 1.0.82 → 1.0.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/yves.js +1 -1
- package/lib/yves.js +1 -1
- package/package.json +1 -1
package/dist/yves.js
CHANGED
|
@@ -3441,7 +3441,7 @@ function stringify(obj, options) {
|
|
|
3441
3441
|
case "null" : return stylize("null", 'special');
|
|
3442
3442
|
case "undefined": return stylize("undefined", 'special');
|
|
3443
3443
|
case "boolean" : return stylize(obj + '', 'bool');
|
|
3444
|
-
case "date" : return stylize('new Date("'+obj.
|
|
3444
|
+
case "date" : return stylize('new Date("'+obj.toISOString()+'")','date');
|
|
3445
3445
|
case "array" : return stringifyArray(obj, options, stack.length);
|
|
3446
3446
|
case "object" : return stringifyObject(obj, options, stack.length);
|
|
3447
3447
|
}
|
package/lib/yves.js
CHANGED
|
@@ -408,7 +408,7 @@ function stringify(obj, options) {
|
|
|
408
408
|
case "null" : return stylize("null", 'special');
|
|
409
409
|
case "undefined": return stylize("undefined", 'special');
|
|
410
410
|
case "boolean" : return stylize(obj + '', 'bool');
|
|
411
|
-
case "date" : return stylize('new Date("'+obj.
|
|
411
|
+
case "date" : return stylize('new Date("'+obj.toISOString()+'")','date');
|
|
412
412
|
case "array" : return stringifyArray(obj, options, stack.length);
|
|
413
413
|
case "object" : return stringifyObject(obj, options, stack.length);
|
|
414
414
|
}
|