Why does date formatting sometimes not work in Debugger?

Viewed 177

I am puzzled. Tried to check some program data during a debug session and stumbled upon this. Everything is basically on the picture:

enter image description here

Date formatting appears to be not working when used with Linq extensions in the Debugger's 'Watch' window. Instead it seems to apply the default locale formatting for Dates. The same code, when put in a program, works perfectly, as well as basic DateTime formatting in the row above.

What am I missing?

0 Answers
Related