Value of a string (which contains a date) in an object changes to default date format

6
Hi, I'm experiencing a problem and don't understand why it works like this. I have a non-persistent entity with a string attribute I create a new object and pre-fill the string attribute with this: '2015-01-01T00:00:00' When I run it in the debugger I see this value: 01/01/2015 00:00:00 It appears to have taken over my default date format. I don't understand it because it is just a string attribute and not a dateTime attribute. Please let me know if there is a solution
asked
1 answers
2

Nice catch! This appears to be a bug in the Modeler caused by the underlying JSON library we use (JSON.NET). That library interprets string values by default and, if it looks like a DateTime value, converts it to a localized date.

See this Stackoverflow question for more information.

Thanks for reporting this. I filed a ticket for this bug (205694) so that we can schedule it to be fixed in a future release.

answered