Applet Suggestion: cal
Description of functionality
Replacement of cal command
Proposed flags
Usage: cal [general options] [-hjy] [[month] year] cal [general options] [-hj] [-m month] [year] ncal [general options] [-hJjpwy] [-s country_code] [[month] year] ncal [general options] [-hJeo] [year] General options: [-NC3] [-A months] [-B months]
Add a list of flags and functionality here if any.
I'm working on cal now, modeling it off of GNU.
Here's my plan:
I'm going to use the proleptic Gregorian calendar exclusively for now, as it makes the reasoning a lot easier. This will mean some of the GNU flags won't work, and output for months prior to October 1752 will be different from other implementations.
I'm also going to ignore highlighting the current day and will stick to pure ASCII output.
I hope that working on this applet might be a springboard for working on a date and time library for Zig. There are way too many considerations when it comes to a full, robust implementation of dates and times (timezones, leap seconds, etc.), but I think it's 100% doable to implement a subset of Python's idealized "datetime," which assumes no leap seconds and proleptic Gregorian calendar.
Also, it will ignore locale/language, etc. since I want to just hardcode in a lot of stuff rather than write a whole library for spacing strings