From e55b6e9d4f42c2f5b638c169e16deaa83e59faff Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 5 May 2008 15:18:01 +0000 Subject: [PATCH] fix date --- AUTHORS | 1 + src/daemon/connection.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/AUTHORS b/AUTHORS index cc94f547..95c14487 100644 --- a/AUTHORS +++ b/AUTHORS @@ -5,6 +5,7 @@ Code contributions also came from: Chris GauthierDickey Elliot Glaysher Daniel Pittman +John Popplewell Nils Durner Heikki Lindholm Alex Sadovsky diff --git a/src/daemon/connection.c b/src/daemon/connection.c index 67be4e91..5f6de640 100644 --- a/src/daemon/connection.c +++ b/src/daemon/connection.c @@ -453,7 +453,7 @@ get_date_string (char *date, unsigned int max) days[now.tm_wday % 7], now.tm_mday, mons[now.tm_mon % 12], - now.tm_year, now.tm_hour, now.tm_min, now.tm_sec); + 1900 + now.tm_year, now.tm_hour, now.tm_min, now.tm_sec); } /**