I am mapping a Date field to a String field in ES. What I get is “mm/dd/yyyy hh:mm:ss”.
Then I go to IS and use the pub.date:dateTimeFormat transformer to output a string in a different format. That’s all cool.
My question is what causes ES to create the “mm/dd/yyyy hh:mm:ss” format in the first place? Is it a locale setting on the server somewhere?
I am sensitive to this because if we replicate the broker on a server in Europe, I am assuming the string generated by ES will become “dd/mm/yyyy hh:mm:ss” and the transformer on IS will no longer work since inString has changed!
What I’d like is for ES to create a string like so:
“dd-MMM-YYYY hh:mm:ss”
I am new to WM, and apologise if this is a subject already covered many times!
Thanks for any help,
Mark Daly