aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/providers/local/camel-mbox-summary.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 4928827e49..19f300bb16 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,5 +1,10 @@
2001-07-06 Jeffrey Stedfast <fejj@ximian.com>
+ * providers/local/camel-mbox-summary.c
+ (camel_mbox_summary_build_from): Make the `day-of-month' digit
+ take up 2 chars by using "%2d". Fixes bug #3989 for lame mailers
+ like Pine.
+
* camel-pgp-context.c (crypto_exec_with_passwd): Set the pipe fd's
to nonblocking.
diff --git a/camel/providers/local/camel-mbox-summary.c b/camel/providers/local/camel-mbox-summary.c
index 0b502aeecb..c24cf4133c 100644
--- a/camel/providers/local/camel-mbox-summary.c
+++ b/camel/providers/local/camel-mbox-summary.c
@@ -472,7 +472,7 @@ camel_mbox_summary_build_from(struct _header_raw *header)
/*memcpy(&tm, gmtime(&thetime), sizeof(tm));*/
gmtime_r(&thetime, &tm);
- g_string_sprintfa(out, " %s %s %d %02d:%02d:%02d %4d\n",
+ g_string_sprintfa(out, " %s %s %2d %02d:%02d:%02d %4d\n",
tz_days[tm.tm_wday],
tz_months[tm.tm_mon], tm.tm_mday, tm.tm_hour, tm.tm_min, tm.tm_sec, tm.tm_year + 1900);