9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] Calendar: -p multiple days
@ 2021-10-05 11:27 sirjofri
  0 siblings, 0 replies; only message in thread
From: sirjofri @ 2021-10-05 11:27 UTC (permalink / raw)
  To: 9front


I noticed that calendar -p doesn't work like I expect. Iirc it prints 
dates for the current day as well as the current day plus the number 
specified with -p.

This patch changes this behaviour. It will print all dates between the 
current date (inclusive) and the range.

-p 3 will print the entries for the dates n, n+1, n+2 and n+3.

Warning: The patch is really old now.



< if(ahead){
> while(ahead > 1){
> ahead--;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-06  9:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-05 11:27 [9front] Calendar: -p multiple days sirjofri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).