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

Hello,

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.

sirjofri

http://sirjofri.de/oat/patches/calendar.patch

74c74
< if(ahead){
---
> while(ahead > 1){
78a79
> 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

9front - general discussion about 9front

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.vuxu.org/9front

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 9front 9front/ https://inbox.vuxu.org/9front \
		9front@9front.org
	public-inbox-index 9front

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.9front


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git