From 5aa9551e1909e076edf733697f77bb0dc7a7ddde Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Mon, 17 Apr 2006 10:09:55 +0200 Subject: Y2K! ;-) --- protocols/oscar/oscar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols') diff --git a/protocols/oscar/oscar.c b/protocols/oscar/oscar.c index 71c99151..53da1e27 100644 --- a/protocols/oscar/oscar.c +++ b/protocols/oscar/oscar.c @@ -2275,7 +2275,7 @@ static int gaim_icqinfo(aim_session_t *sess, aim_frame_t *fr, ...) struct tm tm; tm.tm_mday = (int)info->birthday; tm.tm_mon = (int)info->birthmonth-1; - tm.tm_year = (int)info->birthyear-1900; + tm.tm_year = (int)info->birthyear%100; strftime(date, sizeof(date), "%Y-%m-%d", &tm); info_string_append(str, "\n", _("Birthday"), date); } -- cgit v1.2.3