Skip to content

Commit b72b5fe

Browse files
committed
Second part of DFL-3429: dates were still friendly-printed in ISO 8601 format in tooltips.
1 parent 99dee6e commit b72b5fe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ecma-debugger/objectinspection.6.0/prettyprinter.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,7 @@ cls.PrettyPrinter.types[cls.PrettyPrinter.DATE] =
9090
{
9191
return class_name == "Date";
9292
},
93-
script: "new Date(object.getTime() - object.getTimezoneOffset() * 1000 * 60)" +
94-
".toISOString().replace(\"Z\", \"\")",
93+
script: "object.toString()",
9594
template: function(message, ctx)
9695
{
9796
var VALUE = 2;

0 commit comments

Comments
 (0)