Generate Unicode Calendars for Markdown
qwerty.dev
qwerty.dev
[1] https://www.unicode.org/reports/tr35/#UnicodeFirstDayIdentif...
https://en.wikipedia.org/wiki/Year_zero
update: technically year 0 in ISO 8601 corresponds to year 1 BC
If you ask POSIX, or any date/time API that slavishly copies POSIX (say, java.util.Date or JavaScript's Date object), January is month 0.
Can we change the title back to "Unicode Calendar Generator"?
: October 2021
Su Mo Tu We Th Fr Sa
-- -- -- -- -- -- --
01 02
03 04 05 06 07 08 09
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
the only caveat being, that "October 2021" is implemented as caption and thus will become centered.And then:
pandoc -f markdown -t html -o ./pandoc-table.html ./pandoc-table.md
[1]: https://pandoc.org/MANUAL.html#tables Oktober 2021
So Mo Di Mi Do Fr Sa
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31 ╭────────────────────╮
│ October 2021 │
├──┬──┬──┬──┬──┬──┬──┤
│Su│Mo│Tu│We│Th│Fr│Sa│
├──┼──┼──╔══╗──┼──┼──┤
│10│11│12║13║14│15│16│
├──┼──┼──╚══╝──┼──┼──┤
│24│25│26│27│28│29│30│
╰──┴──┴──┴──┴──┴──┴──╯
http://unicode-search.net/unicode-namesearch.pl?term=arcThanks @mixmastamyk, you just inspired me to add support for them into the python-tabulate project: https://github.com/astanin/python-tabulate/pull/151