I\'d like to get the names of the days of the weeks in JavaScript, localized to the user\'s current language; preferably with something a bit nicer than what I\'m using now:
I use Date.toLocaleString(), for example:
Date.toLocaleString()
d = new Date(); d.toLocaleString(window.navigator.language, {weekday: 'long'});
or
d.toLocaleString('sk-SK', {weekday: 'short'});