Hacker News new | ask | show | jobs
by b2ccb2 170 days ago
It would be trivial to allow all possible languages with toLocaleString[0]:

  d = new Date();
  console.log(d.toLocaleString(window.navigator.language, {
    weekday: 'short'
  }));
[0] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
1 comments

Added a language field. Thanks for the suggestion.

Example:

https://abetusk.github.io/neatocal/?language=ko-KR