Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/ChangeLog,v
retrieving revision 1.371
retrieving revision 1.372
diff -u -p -r1.371 -r1.372
--- ChangeLog	13 Feb 2006 15:50:15 -0000	1.371
+++ ChangeLog	23 Feb 2006 21:16:48 -0000	1.372
@@ -1,3 +1,10 @@
+2006-02-24  Chenthill Palanisamy  <pchenthill@novell.com>
+
+
+	Fixes #332318 #329356
+	* libedataserver/e-time-utils.c: (e_time_parse_date): Added the format
+	%x for representing the date for current locale.
+
 2006-02-13  Harish Krishnaswamy  <kharish@novell.com>
 
 	* configure.in, NEWS: Release updates. Bump version.
RCS file: /cvs/gnome/evolution-data-server/libedataserver/e-time-utils.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- libedataserver/e-time-utils.c	10 Jan 2006 07:59:04 -0000	1.6
+++ libedataserver/e-time-utils.c	23 Feb 2006 21:16:49 -0000	1.7
@@ -1428,7 +1428,7 @@ e_time_parse_date_and_time		(const char	
 ETimeParseStatus
 e_time_parse_date (const char *value, struct tm *result)
 {
-	const char *format[2];
+	const char *format[3];
 	struct tm *today_tm;
 	time_t t;
 	ETimeParseStatus status;
@@ -1442,7 +1442,10 @@ e_time_parse_date (const char *value, st
 	/* This is the preferred date format for the locale. */
 	format[1] = _("%m/%d/%Y");
 
-	status = parse_with_strptime (value, result, format, sizeof (format) / sizeof (format[0]));
+	/* according to the current locale */
+	format [2] = ("%x");
+
+	status = parse_with_strptime (value, result, format, sizeof (format)/sizeof (format [0]));
 	if (status == E_TIME_PARSE_OK) {
 		/* If a 2-digit year was used we use the current century. */
 		if (result->tm_year < 0) {
