I am using SP2013 on-premise. I have applied client side rendering to convert the Item created datetime to specific format.
The problem is "ctx.CurrentItem.Created" always return a string format as below
2015/10/20 PM 06:09
in my browser. Our farm have Chinese language pack installed and my locale is Hong Kong SAR. It maybe the reason why AM/PM is sitting before the time.
On IE11, when I run JS like below:
var d = new Date(ctx.CurrentItem.Created);
it works. However it is not supported in Chrome. Chrome cannot handle the "AM/PM" sitting before the time.
My question is, can I change the format of ctx.CurrentItem.Created to some ISO format?