libpurple/protocols/mxit/profile.c

branch
mxit
changeset 31834
be3661e1a11e
parent 31833
ad08957902a0
parent 31732
6a5ede69e723
child 31843
407e4bcd243b
--- a/libpurple/protocols/mxit/profile.c	Tue May 03 20:29:59 2011 +0000
+++ b/libpurple/protocols/mxit/profile.c	Wed May 04 07:21:43 2011 +0000
@@ -124,7 +124,7 @@
 
 	/* decode hdate */
 	memset( &bdate, 0, sizeof( struct tm ) );
-	strptime( date, "%Y-%m-%d", &bdate );
+	purple_str_to_time(date, FALSE, &bdate, NULL, NULL);
 
 	/* calculate difference */
 	age = now.tm_year - bdate.tm_year;

mercurial