You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
The text was updated successfully, but these errors were encountered: