keerthi_maduru
8 years agoNew Contributor II
Fixing warnings of toLocaleDateTimeString()
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.