commit e55b6e9d4f42c2f5b638c169e16deaa83e59faff
parent c10ad1ef7709dee06674d8c28ed5dc14ae08c5b4
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 5 May 2008 15:18:01 +0000
fix date
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/AUTHORS b/AUTHORS
@@ -5,6 +5,7 @@ Code contributions also came from:
Chris GauthierDickey <chrisg@cs.du.edu>
Elliot Glaysher
Daniel Pittman <depittman@gmail.com>
+John Popplewell <john@johnnypops.demon.co.uk>
Nils Durner <durner@gnunet.org>
Heikki Lindholm <holindho@cs.helsinki.fi>
Alex Sadovsky <alexeysad@gmail.com>
diff --git 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);
}
/**