11-13-2017 08:52 AM
We are getting this Warning:Date.toLocaleDateTimeString() arguments
Resolution:Use an object-literal to pass extra arguments to toLocaleDateTimeString(), when we are using this statement - Date.parse(XXX).toLocaleDateTimeString(‘{“timeZone”:“America/Phoenix”, “format”:“yyyyMMddHHmm”}’). Please let me know your thoughts on this.
11-13-2017 09:05 AM
Try removing the single quotes, so it reads as Date.parse(XXX).toLocaleDateTimeString({“timeZone”:“America/Phoenix”, “format”:“yyyyMMddHHmm”}).
I believe there was an error in the docs that showed including the single quotes.
11-13-2017 09:12 AM
please refer an earlier post
11-13-2017 01:26 PM
Removing quotes worked. Thanks!