tolocaledatestring format time to arabic language code example
Example: tolocaledatestring not working in safari
console.log (new Date('2011-04-12'.replace(/-/g, "/")));
console.log (new Date('2011-04-12'.replace(/-/g, "/")));