Date converter in debug mode

Aug 10, 2014 at 4:56 PM
On debug, nodejstools converts all date strings and objects to a specific date format:

"2014-03-30T01:00:00.000Z"

is shown as

"03/30/2014 01:00:00"

which is really annoying when you work with exact date formats.

Is this by design or a bug and how we can disable it?
Oct 21, 2014 at 6:27 AM
I just wasted at least 30 minutes dealing with this exact problem as well. Here's a weird sample from the interactive window:
moment().toISOString()
"10/21/2014 05:22:40"
'why: ' + moment().toISOString()
"why: 2014-10-21T05:23:05.052Z"
This is really obnoxious that my strings aren't being shown properly if they happen to be ISO. I was trying to figure out how in the world an external module messed w/ moment's toISOString() method when it was the debugger not showing me the actual string value!
Coordinator
Oct 21, 2014 at 8:25 AM
At a quick glance, it is basically what comes back from the V8 debugger protocol when doing a stack trace - we don't do any special processing either for strings or for dates, so it has to be on the other side. We can probably work around that for dates by specifically checking for their type, and requesting specific components in a separate request and then reconstructing the date on VS side, but I'm not sure what we can do about the strings, since there's no indication that something funky is going on with them.

Regardless, can you file a bug about this, so that it's on the radar?
Oct 23, 2014 at 5:36 AM