blob: 60142bdbc3a9baa02d6fcdf85777b03abb779944 (plain
.Dd January 30, 2021
.Dt WCAL 1
.Nd ISO weekly calendar
.Op Fl 13yci
.Op Fl d Ar YYYY Ns Op Ar -MM Ns Op Ar -DD
utility prints a week-oriented calendar.
Each week is prefixed with its ISO week number.
When outputting to a TTY,
the current day, week day, and week are shown in reverse video.
The options are as follows:
.Bl -tag -width Ds
.It Fl 1
Show the calendar for the current month.
(This is the default.)
.It Fl 3
Show the calendar for the previous, current, and next month.
.It Fl y
Show the calendar for the whole year.
.It Fl c
Show the calendar for the current week.
.It Fl i
Show the calendar starting from the current week indefinitely.
.It Fl d Ar YYYY Ns Op Ar -MM Ns Op Ar -DD
Show the calendar for a different date than today.
in case only a year is passed.
.Sh EXIT STATUS
.Sh SEE ALSO
.Xr cal 1
is inspired by this online tool:
.An Leah Neukirchen Aq Mt firstname.lastname@example.org
is in the public domain.
To the extent possible under law,
the creator of this work
has waived all copyright and related or
neighboring rights to this work.
This program uses a proleptic Gregorian Calendar
and may yield unexpected results before 1752.
The year 0000 starts on a Saturday.