diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2006-04-17 10:09:55 +0200 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2006-04-17 10:09:55 +0200 |
commit | 5aa9551e1909e076edf733697f77bb0dc7a7ddde (patch) | |
tree | f0a3094d4e133cc90a127a6a6678ddac7d28c5cf | |
parent | 4d8988640fd540caced98ab21296f16d3b940881 (diff) |
Y2K! ;-)
-rw-r--r-- | protocols/oscar/oscar.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |