[evolution-exchange/gnome-2-30] One day off in addressbook's populate_date function



commit a0b026f3507a79316d862a69ea8fe61de74b8218
Author: Charles Bovy <charles bovy gmail com>
Date:   Mon Jun 28 14:11:12 2010 +0200

    One day	off in addressbook's populate_date function

 addressbook/e-book-backend-exchange.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/addressbook/e-book-backend-exchange.c b/addressbook/e-book-backend-exchange.c
index 0e23676..1f72e6d 100644
--- a/addressbook/e-book-backend-exchange.c
+++ b/addressbook/e-book-backend-exchange.c
@@ -1025,7 +1025,7 @@ populate_date(EContactField field, EContact *new_contact, gpointer data)
 
 	dt.year = then->tm_year + 1900;
 	dt.month = then->tm_mon + 1;
-	dt.day = then->tm_mday + 1;
+	dt.day = then->tm_mday;
 
 	e_contact_set (new_contact, field, &dt);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]