โ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!