Remix.run Logo
abetusk 8 hours ago

The neatnik calendar is very nice. Others are talking about enhancements they've done and I've done my own, creating a pretty faithful JavaScript implementation with enhancements:

https://github.com/abetusk/neatocal

https://abetusk.github.io/neatocal/ (demo)

URL parameters can be used to alter behavior. Here's a highlight of some of them:

https://abetusk.github.io/neatocal/?layout=aligned-weekdays&... (weekend highlighted, aligned)

https://abetusk.github.io/neatocal/?start_month=7 (academic)

https://abetusk.github.io/neatocal/?start_month=6&n_month=6 (second half, 6 month)

https://abetusk.github.io/neatocal/?month_code=1%E6%9C%88,2%... (chinese month and day)

There's also a data file option for more complex date notes.

moontear 6 hours ago | parent | next [-]

Awesome! Totally love your version as my first gripe was that I can't adjust naming to fit my needs (localized, non-english). Your JS version is awesome, thanks!

If you want something for your examples, this would be the German-localized version for 2026: https://abetusk.github.io/neatocal/?year=2026&weekday_code=S...

abetusk 6 hours ago | parent [-]

Added to the list of presets in the README [0]. Thanks!

[0] https://github.com/abetusk/neatocal?tab=readme-ov-file#prese...

b2ccb2 2 hours ago | parent [-]

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...
twapi 7 hours ago | parent | prev [-]

Thanks for sharing!