Skip to content

Commit 0c26def

Browse files
committed
Fix DFL-3429. Switch from ISO 8601 to toString() representation for pretty-printed dates in the console.
1 parent 7c39f8b commit 0c26def

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/repl/friendlyprinter.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,9 +255,7 @@ window.cls.FriendlyPrinter.prototype = new function()
255255
return [
256256
DATE,
257257
1, // expandable inline object (booleans are returned as string)
258-
!isNaN(item.getTime())
259-
? new Date(item.getTime() - item.getTimezoneOffset() * 1000 * 60).toISOString().replace('Z','')
260-
: item.toString()
258+
item.toString()
261259
];
262260
}
263261
else if (class_ == "[object Function]")

0 commit comments

Comments
 (0)