[HN Gopher] Generate Unicode Calendars for Markdown
___________________________________________________________________
Generate Unicode Calendars for Markdown
Author : nabeards
Score : 76 points
Date : 2021-10-13 17:06 UTC (5 hours ago)
(HTM) web link (qwerty.dev)
(TXT) w3m dump (qwerty.dev)
| fauria wrote:
| Being this a _Unicode_ calendar generator, notice that according
| to the internacional standard ISO 8601 Monday is the first day of
| the week.
|
| https://en.m.wikipedia.org/wiki/ISO_8601
| dhosek wrote:
| The definition of Monday as the first day of the week is
| strictly for the sake of week numbering over the course of the
| year and does not indicate that a calendar which displays weeks
| starting with Sunday violates the ISO standard.
| lifthrasiir wrote:
| ISO 8601 is not related to Unicode (ISO/IEC 10646), but if you
| do care about Unicode you may notice that Unicode CLDR actually
| supports the preferred first day of the week as a part of
| locale identifiers [1] (e.g. en-US-u-fw-mon will make the first
| day of the week Monday, as opposed to the default Sunday for
| USA).
|
| [1]
| https://www.unicode.org/reports/tr35/#UnicodeFirstDayIdentif...
| psd1 wrote:
| Yep, making Sunday the zero'th day.
| radomir_cernoch wrote:
| This comment made my day. :-)
| fauria wrote:
| :) Nice try, but I'm afraid none of the data elements related
| to dates are zero-indexed (ie month 0, week 0, year 0, etc)
|
| https://en.wikipedia.org/wiki/Year_zero
|
| update: technically year 0 in ISO 8601 corresponds to year 1
| BC
| aloisdg wrote:
| There is a bug. October has 31 days, but the generated calendar
| have 30 days. Since the website doesn't seems to be open source,
| I cant fix it.
| jfk13 wrote:
| And February 2021 only had 27 days, apparently... hmm.
| MrOxiMoron wrote:
| On Firefox for android they don't render that great, the first
| row is misaligned and the day indicator is all over the place.
| cgijoe wrote:
| This has nothing to do with Markdown. Was that word included for
| SEO or something? Perhaps a better title would be "ASCII Art
| Calendars".
| mikestew wrote:
| "markdown" is not to be found on the page, so it's not for SEO;
| the submitter (incorrectly) editorialized the title. It's also
| not restricted to ASCII, so your suggestion does not increase
| title accuracy.
| JamesCoyne wrote:
| heh. If you overflow the date past the past about year +/- 250000
| you break the website and it has to be reloaded (in Firefox at
| least)
| sambeau wrote:
| This is a lovely little project but it makes no claims to be for
| markdown--the site makes no mention of it as far as I can see.
| And, of course these fun unicode calendars don't render in
| Markdown.
|
| Can we change the title back to "Unicode Calendar Generator"?
| eevilspock wrote:
| Not only that, the _copy to clipboard_ function produces text
| that DOES NOT render correctly when pasted into a Markdown doc.
___________________________________________________________________
(page generated 2021-10-13 23:00 UTC)