summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2016-12-21 19:01:28 -0700
committerEduardo Chappa <chappa@washington.edu>2016-12-21 19:01:28 -0700
commit6446b87105b0bd55e3842b0625b21b451769f8c1 (patch)
tree47a07ba15141f41a3ab10552f00820a88f19d1e5
parent12be46a5f66c34129cae2819c634e9a98e31113c (diff)
downloadalpine-6446b87105b0bd55e3842b0625b21b451769f8c1.tar.xz
* small addition for new SMARTTIME24 token.
-rw-r--r--pith/mailindx.c5
-rw-r--r--pith/pine.hlp2
2 files changed, 2 insertions, 5 deletions
diff --git a/pith/mailindx.c b/pith/mailindx.c
index efa6854d..c085018f 100644
--- a/pith/mailindx.c
+++ b/pith/mailindx.c
@@ -4993,11 +4993,8 @@ date_str(char *datesrc, IndexColType type, int v, char *str, size_t str_len,
? month_abbrev_locale(d.month) : "???", sizeof(monabb));
monabb[sizeof(monabb)-1] = '\0';
- if(d.day >= 1 && d.day <= 31){
+ if(d.day >= 1 && d.day <= 31)
snprintf(dayzero, sizeof(dayzero), "%*d", 2, d.day);
-// if(d.day < 10)
-// dayzero[0] = ' ';
- }
else{
strncpy(dayzero, "??", sizeof(dayzero));
dayzero[sizeof(dayzero)-1] = '\0';
diff --git a/pith/pine.hlp b/pith/pine.hlp
index e6b66081..97f2f79e 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 197 2016-12-20 21:55:31
+Alpine Commit 198 2016-12-21 19:01:21
============= h_news =================
<HTML>
<HEAD>