14 lines
502 B
Plaintext
14 lines
502 B
Plaintext
--- contrib/ras/ras2tif.c.orig Wed Apr 14 23:05:05 1999
|
|
+++ contrib/ras/ras2tif.c Wed Apr 14 23:05:41 1999
|
|
@@ -102,8 +102,8 @@
|
|
|
|
gettimeofday(&tv, (struct timezone *) NULL);
|
|
ct = localtime(&tv.tv_sec);
|
|
- sprintf(datetime, "19%02d:%02d:%02d %02d:%02d:%02d",
|
|
- ct->tm_year, ct->tm_mon + 1, ct->tm_mday,
|
|
+ sprintf(datetime, "%04d:%02d:%02d %02d:%02d:%02d",
|
|
+ 1900 + ct->tm_year, ct->tm_mon + 1, ct->tm_mday,
|
|
ct->tm_hour, ct->tm_min, ct->tm_sec);
|
|
|
|
setbuf(stderr, NULL);
|