1Arguments of toLocaleString method can also configure the format of the dates. This is supported in modern browser versions,
2you can see more information here:https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleString#browser_compatibility.
3
4let date = new Date(Date.UTC(2015, 5, 27, 12, 0, 0))
5, options = {weekday: 'short', month: 'short', day: 'numeric' };
6console.log(date.toLocaleString('es-ES', options)); //sáb. 27 de jun.