summaryrefslogtreecommitdiff
path: root/pith/mailindx.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2016-12-22 23:43:16 -0700
committerEduardo Chappa <chappa@washington.edu>2016-12-22 23:43:16 -0700
commitd8c7c96e90a471b381080c7c12b6c526dfc4820e (patch)
treedd56c160f44530bf0662b568aadfdaa68fefd126 /pith/mailindx.c
parent6446b87105b0bd55e3842b0625b21b451769f8c1 (diff)
downloadalpine-d8c7c96e90a471b381080c7c12b6c526dfc4820e.tar.xz
* The display of dates in the format "DDD HH:MM" for the SMARTTIME24 token
must last at least 7 days, not 6.
Diffstat (limited to 'pith/mailindx.c')
-rw-r--r--pith/mailindx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pith/mailindx.c b/pith/mailindx.c
index c085018f..0641f146 100644
--- a/pith/mailindx.c
+++ b/pith/mailindx.c
@@ -4971,7 +4971,7 @@ date_str(char *datesrc, IndexColType type, int v, char *str, size_t str_len,
/* Build date/time in str, in format similar to that used by w(1) */
- if(daydiff >= 0 && daydiff < 6){ /* If <1wk ago, "Ddd HH:mm" */
+ if(daydiff >= 0 && daydiff <= 6){ /* If <1wk ago, "Ddd HH:mm" */
if(d.month >= 1 && d.day >= 1 && d.year >= 0 &&
d.month <= 12 && d.day <= 31 && d.year <= 9999)