Are you using an in-built validator or attaching one via CSJS? What is your XML? The extra parameter, from what I can see, is for a DateTimeRangeValidator. I’ve seen a few bits of code that were technically incorrect but happened to work in 8.5.1, and now don’t work in 8.5.2.
Looking at your code and the output, I notice that the converter has this at the end:,’
')
and your separator is a new line. I’d suggest that’s causing the problem, that it’s putting a carriage return into the literal string of the javascript code, which javascript is objecting to.
If you don’t want to use a different separator, you might be able to call the relevant converter in client-side javascript, passing your separator \n yourself.