summaryrefslogtreecommitdiff
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
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.
-rw-r--r--pith/mailindx.c2
-rw-r--r--pith/pine.hlp2
2 files changed, 2 insertions, 2 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)
diff --git a/pith/pine.hlp b/pith/pine.hlp
index 97f2f79e..0004b755 100644
--- a/pith/pine.hlp
+++ b/pith/pine.hlp
@@ -140,7 +140,7 @@ with help text for the config screen and the composer that didn't have any
reasonable place to be called from.
Dummy change to get revision in pine.hlp
============= h_revision =================
-Alpine Commit 198 2016-12-21 19:01:21
+Alpine Commit 199 2016-12-22 23:43:01
============= h_news =================
<HTML>
<HEAD>