Re:Show HN: A React.js yearly calendar component
by fphilipe on Monday November 16, 2015 @09:09AM
(#10574464)
That's an interesting way of showing a calendar. Is this common practice? I've never seen this before. I think the only yearly calendar I've seen more often lately is the one used on the GitHub profiles (here's a d3 one: http://bl.ocks.org/mbostock/4063318).
[ Parent
| on HN ]
Re:Show HN: A React.js yearly calendar component
by GiovanniFrigo on Monday November 16, 2015 @09:37AM
(#10574631)
It's definitely not common, but sometimes it's useful to have the whole year under your eyes.
Basically we needed it for a project where we had to display how an year was subdivided into 4 different periods. Here we also highlighted the working, festive and prefestive days.
I think it turned out to be an interesting layout, you can see it here: http://postimg.org/image/4yqaywm2r/.
Re:Show HN: A React.js yearly calendar component
by tehno on Monday November 16, 2015 @09:16AM
(#10574509)
I've seen this style used in traditional wall calendars, usually with just that month's line on the bottom, but sometimes with previous/next month lines too.
I once created a ColdFusion (anyone remember CFML?) module for rendering similar calendar layout on server side.
Re:Show HN: A React.js yearly calendar component
by tangue on Monday November 16, 2015 @09:39AM
(#10574641)
I've hardcoded this kind of calendar in a lot of hotel backends (to fill availability) but I suspect they are useful for any season related form.
Re:Show HN: A React.js yearly calendar component
by GiovanniFrigo on Monday November 16, 2015 @09:44AM
(#10574662)
Yeah that's another interesting use case!
Maybe I'll add the "select period" feature, thanks for the idea!