Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 80871

String autoformatting for dates?

$
0
0

Hi all,

I have a string variable with the parameter: '2016-10-05T16:30', representing a date and time in a specific format. However, in the debugger in the variables tab, this string is shown as '10/05/2016 16:30:00'.

It seems that the debugger autoformats the string, but why? A string is a string: just some characters. If these characters happen to represent a date i think it should still show the original string..

The weird thing is, if i parse it with 'yyyy-MM-dd''T''HH:mm:ss', it succeeds, so it seems like in the background the string format is still correct.

Does anybody know if i there is a setting to stop this autoformatting?


Viewing all articles
Browse latest Browse all 80871

Trending Articles