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/providers/local/camel-mbox-summary.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'camel/providers/local') 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