Calendary as in calendar and legendary. A web app for generating printable wall calendars.
Super work-in-progress, no ETA for release :D Current version which might or might now work, and is available at git.hanki.dev/calendary.
❗ Printing in the current version does not work properly, there are some versions in the commit history where it works. I gave up on this project as I realized that using a physical calendar is too much of a inconvinience for me. Leaving this repo here in case someone wants to fork and continue it :)
I want to create something as smooth and customizable as flowcv.io, but for calendars!
By using javascript's own window.print(). To see how the calendar gets printed and not the whole page, check app.css.
By setting fixed size for the div where the calendar gets drawn. For A4 paper it's width: 3508px; height: 2480px;.
Since nobody has that big monitor it needs to be scaled down using transform: scale().
The scale factor gets calculated from your window size, check calculateScaleFactor().
aspect-ratio doesn't work in this case since we need to scale font sizes inside the div.
- In the code date related numbers start from 1, not 0
- When using 0-based parameter it's always with
index - For example,
month = 9andmonthIndex = 8would both be September - It's easier for me to wrap my head around in date loops when counting starts from 1
- When using 0-based parameter it's always with