9front - general discussion about 9front
 help / color / mirror / Atom feed
From: sirjofri <sirjofri+ml-9front@sirjofri.de>
To: 9front@9front.org
Subject: [9front] Calendar: -p multiple days
Date: Tue, 5 Oct 2021 11:27:16 +0000 (UTC)	[thread overview]
Message-ID: <2d0ebedb-b64e-4843-a82a-7a01a2474727@sirjofri.de> (raw)

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--;

                 reply	other threads:[~2021-10-06  9:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2d0ebedb-b64e-4843-a82a-7a01a2474727@sirjofri.de \
    --to=sirjofri+ml-9front@sirjofri.de \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).