Live data from Hacker News

Calendar

neatnik.net

121–130 of 141 posts

Re: Calendar

#122

Here's another, a bit more uniform and month-agnostic way to format a year - https://i.imgur.com/B9UEQw1.png

It appears to have 30 days in October and 31 days in November.

Sorry about that. The perils of artisanal calendaring.

https://i.imgur.com/AoH5A67.png

Re: Calendar

#125
post #31

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 highli…

just posting this because I struggled to figure it out for some reason; for doubled sided printing (duplex) with 6 months on each side:

https://abetusk.github.io/neatocal/?year=2026&start_month=0&...

https://abetusk.github.io/neatocal/?year=2026&start_month=6&...

Re: Calendar

#127

CSS rules for printing is one of my favorite features of the web. You get a powerful typesetter directly in your browser. For those wondering how it's done, I wrote about it [0] recently for my friends who frequently asked how I generated PDFs for my blogs. [0] https://barish.me/blog/make-your-website-printable-with-css/

While on the subject, you can make a calendar in as little as 3 lines of CSS: https://calendartricks.com/a-calendar-in-three-lines-of-css/

Re: Calendar

#128
post #31

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 highli…

Awesome. I have added half-colored days and date emojis to my fork. https://github.com/c6p/neatocal

Check out my Turkish Holidays example for 2026: https://c6p.github.io/neatocal/?data=example/tr-2026.json

Re: Calendar

#129

Margins need to be a bit larger. When printed, "2026" at the top is cut in half and at the bottom "31st" cells are cut right through the slab of 1. On the left side all but last few pixels of dates are cut off, and the last column is visibly narrower than the rest. This is in Firefox on Windows.

Firefox on MacOS the same, Chrome worked as expected.
Post reply on HN