From 00434484dd0b89eb91cb6ea9be03eeaee1f97751 Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Thu, 11 Apr 2013 21:33:24 +0200 Subject: [PATCH] Added the "trimester" request. --- mymail.1 | 7 +++---- mymail.c | 1 + 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mymail.1 b/mymail.1 index 82ce908..03382d9 100644 --- a/mymail.1 +++ b/mymail.1 @@ -112,10 +112,9 @@ condition requires to read the original mboxes completely, which can be slow. However, header conditions are checked first to read the bodies only for mails which fulfill them entirely. .TP -\fB8h\fR, \fB24h\fR, \fB48h\fR, \fBweek\fR, \fBmonth\fR, and -\fByear\fR -selects mails received during the last 8, 24, 24, 48, 7 * 24 hours, 31 * -24 hours, and 365 * 24 hours respectively. +\fB8h\fR, \fB24h\fR, \fB48h\fR, \fBweek\fR, \fBmonth\fR, \fBtrimester\fR, +and \fByear\fR selects mails received during the last 8, 24, 24, 48, 7 +* 24 hours, 31 * 24 hours, 92 * 24 hours, and 365 * 24 hours respectively. .TP \fBtoday\fR selects mails received since midnight. diff --git a/mymail.c b/mymail.c index e802be1..88c01f5 100644 --- a/mymail.c +++ b/mymail.c @@ -767,6 +767,7 @@ static struct time_criterion time_criteria[] = { { "48h", 0, 48, -1, -1 }, { "week", 0, 24 * 7, -1, -1 }, { "month", 0, 24 * 31, -1, -1 }, + { "trimester", 0, 24 * 92, -1, -1 }, { "year", 0, 24 * 365, -1, -1 }, { "yesterday", 1, -1, -1, -1 }, -- 2.20.1