aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-07-07 04:30:25 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-07-07 04:30:25 +0800
commit71a7db06253f8a063268b2a85737567534973f7b (patch)
treeea91a5689e883bb4315a71d132868e1e1c366208 /camel
parent0995aedae9fd9ef1d6bc5472a14d3d32c13186a4 (diff)
downloadgsoc2013-evolution-71a7db06253f8a063268b2a85737567534973f7b.tar
gsoc2013-evolution-71a7db06253f8a063268b2a85737567534973f7b.tar.gz
gsoc2013-evolution-71a7db06253f8a063268b2a85737567534973f7b.tar.bz2
gsoc2013-evolution-71a7db06253f8a063268b2a85737567534973f7b.tar.lz
gsoc2013-evolution-71a7db06253f8a063268b2a85737567534973f7b.tar.xz
gsoc2013-evolution-71a7db06253f8a063268b2a85737567534973f7b.tar.zst
gsoc2013-evolution-71a7db06253f8a063268b2a85737567534973f7b.zip
Make the `day-of-month' digit take up 2 chars by using "%2d". Fixes bug
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. svn path=/trunk/; revision=10858
Diffstat (limited to 'camel')
-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);