From 71a7db06253f8a063268b2a85737567534973f7b Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 6 Jul 2001 20:30:25 +0000 Subject: Make the `day-of-month' digit take up 2 chars by using "%2d". Fixes bug 2001-07-06 Jeffrey Stedfast * 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. svn path=/trunk/; revision=10858 --- camel/ChangeLog | 5 +++++ camel/providers/local/camel-mbox-summary.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + * 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); -- cgit v1.2.3