Question on date field format when using a!toJson

I am using a!toJson to create a json string on one of our environments. I use the rule output to put it in a text file.

In another environment I am reading the text file and use a!fromJson to convert it back to my CDT structure.

This is working fine with the exception of a date field which is formatted "YYYY-MM-DD" in the text file. If I change it to format "DD.MM.YYYY" the fromJson rule returns the right result.

Is there anyway to fix this besides manually changing all date fields?

TIA, Moritz

OriginalPostID-222243

OriginalPostID-222243

  Discussion posts and replies are publicly visible