Files
ports/misc/deco/files/patch-ac
T
Ruslan Ermilov 2e8bf3c5e1 Y2K display fix.
2000-01-04 13:49:28 +00:00

11 lines
228 B
Plaintext

Index: ut.c
@@ -35,7 +35,7 @@
strncpy (p+3, "JanFebMarAprMayJunJulAugSepOctNovDec"+t->tm_mon*3, 3);
- STOREINT (p+9, t->tm_year);
+ STOREINT (p+9, t->tm_year % 100);
if (t->tm_year < 100) {
p[7] = '1';
p[8] = '9';